Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20974 closed defect (duplicate)

gcc43 build error under snow leopard

Reported by: eonofri@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: skymoo (Adam Mercer), jmhuttun@…, hans@…, dmonner@…, mamoll (Mark Moll), tommccullough-tenica, ksaito11+macport@…
Port: gcc43

Description (last modified by tobypeterson)

I installed Snow Leopard. Tried to install arpack. Result:

--->  Computing dependencies for arpack
--->  Building gcc43
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build" && /usr/bin/make -j2 all " returned error 2
Command output:   "_mpfr_sqrt", referenced from:
      _mpfr_sqrt$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_dim", referenced from:
      _mpfr_dim$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_cos", referenced from:
      _mpfr_cos$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_fma", referenced from:
      _fold_builtin_n in libbackend.a(builtins.o)
  "_mpfr_erf", referenced from:
      _mpfr_erf$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_exp", referenced from:
      _mpfr_exp$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_max", referenced from:
      _mpfr_max$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_log", referenced from:
      _mpfr_log$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_min", referenced from:
      _mpfr_min$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_pow", referenced from:
      _mpfr_pow$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_tan", referenced from:
      _mpfr_tan$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_sin", referenced from:
      _mpfr_sin$non_lazy_ptr in libbackend.a(builtins.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2

Error: The following dependencies failed to build: gcc43
Error: Status 1 encountered during processing.

Anyone was able to install gcc43 and/or arpack on SL?

Attachments (1)

2Sep09_gcc43_log.tar.gz (76.6 KB) - added by tommccullough-tenica 15 years ago.
Complete output from port -d install gcc43

Download all attachments as: .zip

Change History (22)

comment:1 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:2 Changed 15 years ago by tobypeterson

Description: modified (diff)
Port: arpack added
Version: 1.8.0

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…
Port: gcc43 added; arpack removed
Summary: port arpack under snow leopardgcc43 build error under snow leopard
Type: updatedefect

comment:4 Changed 15 years ago by tobypeterson

This seems to indicate an mpfr install that hasn't been migrated to Snow Leopard. See Migration

comment:5 Changed 15 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:6 Changed 15 years ago by jmhuttun@…

I have same error. I tried to uninstall everything before installing gcc43 (i.e. ran "sudo port -f uninstall installed"), but no success.

comment:7 Changed 15 years ago by jmhuttun@…

Cc: jmhuttun@… added

Cc Me!

comment:8 Changed 15 years ago by nerdling (Jeremy Lavergne)

Did you clean the port?

comment:9 Changed 15 years ago by skymoo (Adam Mercer)

I get the same error from a completely fresh install of MacPorts.

comment:10 in reply to:  8 Changed 15 years ago by jmhuttun@…

Replying to snc@…:

Did you clean the port?

Yes, I ran "sudo port clean installed" first and also cleared "/opt/local/var/macports/build" directory with "rm -rf *".

Changed 15 years ago by tommccullough-tenica

Attachment: 2Sep09_gcc43_log.tar.gz added

Complete output from port -d install gcc43

comment:11 Changed 15 years ago by tommccullough-tenica

I think that the real problem happens here:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/./prev-gcc/ -B/opt/local/i386-apple-darwin10.0.0/bin/   -g -O2 -fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros 				     -Wno-overlength-strings    -DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o darwin-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \
	  main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/local/lib -L/opt/local/lib -lmpfr -lgmp
ld: warning: in /opt/local/lib/libiconv.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libmpfr.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libgmp.dylib, file is not of required architecture
Undefined symbols:....

I checked the type of these dylibs with "file" and they are listed as x86_64 architecture...

This is unrelated to the problem, but a scripting error has led to filenames containing ppc64 in numerous places.

comment:12 Changed 15 years ago by hans@…

Cc: hans@… added

Cc Me!

comment:13 Changed 15 years ago by dmonner@…

Cc: dmonner@… added

Cc Me!

comment:14 Changed 15 years ago by nick@…

Cc Me!

comment:15 Changed 15 years ago by mamoll (Mark Moll)

Cc: mmoll@… added

Cc Me!

comment:16 in reply to:  1 Changed 15 years ago by tommccullough-tenica

Replying to toby@…:

This is the same as #20933. I don't know who to contact to point out the redundancy.

comment:17 Changed 15 years ago by tommccullough-tenica

Cc: thomas.mccullough@… added

Cc Me!

comment:18 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

comment:19 Changed 15 years ago by ksaito11+macport@…

Cc: ksaito11+macport@… added

Cc Me!

comment:20 Changed 15 years ago by faisal.moledina@…

Cc: faisal.moledina@… added

Cc Me!

comment:21 Changed 15 years ago by faisal.moledina@…

Cc: faisal.moledina@… removed

Cc Me!

Note: See TracTickets for help on using tickets.