New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20974 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

gcc43 build error under snow leopard

Reported by: eonofri@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ram@…, jmhuttun@…, hans@…, dmonner@…, mmoll@…, thomas.mccullough@…, ksaito11+macport@…
Port: gcc43

Description (last modified by toby@…) (diff)

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

2Sep09_gcc43_log.tar.gz Download (76.6 KB) - added by thomas.mccullough@… 2 years ago.
Complete output from port -d install gcc43

Change History

follow-up: ↓ 16   Changed 2 years ago by toby@…

  • priority changed from High to Normal

  Changed 2 years ago by toby@…

  • version 1.8.0 deleted
  • description modified (diff)
  • port set to arpack

  Changed 2 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to mww@…
  • type changed from update to defect
  • port changed from arpack to gcc43
  • summary changed from port arpack under snow leopard to gcc43 build error under snow leopard

  Changed 2 years ago by toby@…

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

  Changed 2 years ago by ram@…

  • cc ram@… added

Cc Me!

  Changed 2 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.

  Changed 2 years ago by jmhuttun@…

  • cc jmhuttun@… added

Cc Me!

follow-up: ↓ 10   Changed 2 years ago by snc@…

Did you clean the port?

  Changed 2 years ago by ram@…

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

in reply to: ↑ 8   Changed 2 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 2 years ago by thomas.mccullough@…

Complete output from port -d install gcc43

  Changed 2 years ago by thomas.mccullough@…

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.

  Changed 2 years ago by hans@…

  • cc hans@… added

Cc Me!

  Changed 2 years ago by dmonner@…

  • cc dmonner@… added

Cc Me!

  Changed 2 years ago by nick@…

Cc Me!

  Changed 2 years ago by mmoll@…

  • cc mmoll@… added

Cc Me!

in reply to: ↑ 1   Changed 2 years ago by thomas.mccullough@…

Replying to toby@…:

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

  Changed 2 years ago by thomas.mccullough@…

  • cc thomas.mccullough@… added

Cc Me!

  Changed 2 years ago by ryandesign@…

  • status changed from new to closed
  • resolution set to duplicate

  Changed 2 years ago by ksaito11+macport@…

  • cc ksaito11+macport@… added

Cc Me!

  Changed 2 years ago by faisal.moledina@…

  • cc faisal.moledina@… added

Cc Me!

  Changed 2 years ago by faisal.moledina@…

  • cc faisal.moledina@… removed

Cc Me!

Note: See TracTickets for help on using tickets.