Opened 8 years ago

Last modified 3 months ago

#53305 assigned defect

arm-elf-gcc3 @3.4.6_2: fails on Sierra - - undefined symbols

Reported by: starthal (Stephen Albert) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc: cooljeanius (Eric Gallager)
Port: arm-elf-gcc3

Description

Mac OS X Sierra 10.12.2; XCode 8.2.1

Building:

$ sudo port install arm-elf-gcc3
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for arm-elf-gcc3
--->  Fetching archive for arm-elf-gcc3
--->  Attempting to fetch arm-elf-gcc3-3.4.6_2.darwin_16.x86_64.tbz2 from https://packages.macports.org/arm-elf-gcc3
--->  Attempting to fetch arm-elf-gcc3-3.4.6_2.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/arm-elf-gcc3
--->  Attempting to fetch arm-elf-gcc3-3.4.6_2.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/arm-elf-gcc3
--->  Fetching distfiles for arm-elf-gcc3
--->  Verifying checksums for arm-elf-gcc3
--->  Extracting arm-elf-gcc3
--->  Applying patches to arm-elf-gcc3
--->  Configuring arm-elf-gcc3
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Building arm-elf-gcc3
Error: org.macports.build for port arm-elf-gcc3 returned: command execution failed
Please see the log file for port arm-elf-gcc3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gcc3/arm-elf-gcc3/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port arm-elf-gcc3 failed

(I think) this is the relevant error in the log:

:info:build ar rc libbackend.a alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o loop-init.o loop-unswitch.o loop-unroll.o cfgrtl.o combine.o conflict.o convert.o coverage.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o dojump.o doloop.o dominance.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o  langhooks.o lcm.o lists.o local-alloc.o loop.o optabs.o options.o opts.o params.o postreload.o predict.o print-rtl.o print-tree.o value-prof.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o sreal.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o toplev.o tracer.o tree.o tree-dump.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o alloc-pool.o et-forest.o cfghooks.o bt-load.o pretty-print.o ggc-page.o web.o arm.o  host-default.o hashtable.o tree-inline.o tree-optimize.o cgraph.o cgraphunit.o
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(doloop.o) has no symbols
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(reorg.o) has no symbols
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(vmsdbgout.o) has no symbols
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(xcoffout.o) has no symbols
:info:build ranlib libbackend.a
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(doloop.o) has no symbols
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(reorg.o) has no symbols
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(vmsdbgout.o) has no symbols
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(xcoffout.o) has no symbols
:info:build /usr/bin/clang   -pipe -Os -DLIBICONV_PLUG -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1 \
:info:build             c-parse.o c-lang.o c-pretty-print.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 libcpp.a  main.o libbackend.a ../libiberty/libiberty.a -L/usr/lib ../intl/libintl.a  
:info:build /usr/bin/clang   -pipe -Os -DLIBICONV_PLUG -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1plus \
:info:build           cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-lang.o cp/name-lookup.o cp/cxx-pretty-print.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o  c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o main.o libbackend.a libcpp.a ../libiberty/libiberty.a -L/usr/lib ../intl/libintl.a  
:info:build /usr/bin/clang   -pipe -Os -DLIBICONV_PLUG -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1obj \
:info:build             objc/objc-lang.o objc/objc-parse.o objc/objc-act.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 libcpp.a  main.o libbackend.a ../libiberty/libiberty.a -L/usr/lib ../intl/libintl.a  
:info:build Undefined symbols for architecture x86_64:
:info:build   "_libc_name_p", referenced from:
:info:build       _nothrow_libfn_p in except.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [cc1plus] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gcc3/arm-elf-gcc3/work/build/gcc'
:info:build make: *** [all-gcc] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gcc3/arm-elf-gcc3/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gcc3/arm-elf-gcc3/work/build" && /usr/bin/make -j8 -w all AR_FOR_TARGET=arm-elf-ar AS_FOR_TARGET=arm-elf-as LD_FOR_TARGET=arm-elf-ld NM_FOR_TARGET=arm-elf-nm RANLIB_FOR_TARGET=arm-elf-ranlib 
:info:build Exit code: 2
:error:build org.macports.build for port arm-elf-gcc3 returned: command execution failed
:debug:build Error code: CHILDSTATUS 76001 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for arm-elf-gcc3: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port arm-elf-gcc3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gcc3/arm-elf-gcc3/main.log

Full log attached.

Attachments (1)

main.log (1.1 MB) - added by starthal (Stephen Albert) 8 years ago.
Build log

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by starthal (Stephen Albert)

Attachment: main.log added

Build log

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: set to stuartwesterman
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers arm-elf-gcc3), if any.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Owner: stuartwesterman deleted

comment:3 Changed 3 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.