Ticket #20974 (closed defect: duplicate)
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
Change History
comment:2 Changed 4 years ago by toby@…
- Version 1.8.0 deleted
- Port set to arpack
- Description modified (diff)
comment:3 Changed 4 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
comment:4 Changed 4 years ago by toby@…
This seems to indicate an mpfr install that hasn't been migrated to Snow Leopard. See Migration
comment:6 Changed 4 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:9 Changed 4 years ago by ram@…
I get the same error from a completely fresh install of MacPorts.
comment:10 in reply to: ↑ 8 Changed 4 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 4 years ago by thomas.mccullough@…
- Attachment 2Sep09_gcc43_log.tar.gz added
Complete output from port -d install gcc43
comment:11 Changed 4 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.
comment:14 Changed 4 years ago by nick@…
Cc Me!
comment:16 in reply to: ↑ 1 Changed 4 years ago by thomas.mccullough@…
comment:18 Changed 4 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to duplicate

