Opened 15 years ago

Closed 13 years ago

#22000 closed defect (fixed)

arm-none-linux-gnueabi-gcc fails to compile

Reported by: quadrilor@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: ruslan@…, nerdling (Jeremy Lavergne), stephen@…
Port: arm-none-linux-gnueabi-gcc

Description (last modified by jmroot (Joshua Root))

Applied patch for binutils but still having following problem

--->  Building arm-none-linux-gnueabi-gcc
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/build" && /usr/bin/make -j4 all AR_FOR_TARGET=arm-none-linux-gnueabi-ar AS_FOR_TARGET=arm-none-linux-gnueabi-as LD_FOR_TARGET=arm-none-linux-gnueabi-ld NM_FOR_TARGET=arm-none-linux-gnueabi-nm RANLIB_FOR_TARGET=arm-none-linux-gnueabi-ranlib " returned error 2
Command output: ranlib: file: libbackend.a(doloop.o) has no symbols
ranlib: file: libbackend.a(reorg.o) has no symbols
ranlib: file: libbackend.a(vmsdbgout.o) has no symbols
ranlib: file: libbackend.a(xcoffout.o) has no symbols
ranlib libbackend.a
ranlib: file: libbackend.a(doloop.o) has no symbols
ranlib: file: libbackend.a(reorg.o) has no symbols
ranlib: file: libbackend.a(vmsdbgout.o) has no symbols
ranlib: file: libbackend.a(xcoffout.o) has no symbols
cc -no-cpp-precomp -I/opt/local/include   -O2 -arch x86_64 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1 \
		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 ../intl/libintl.a -L/opt/local/lib -liconv 
cc -no-cpp-precomp -I/opt/local/include   -O2 -arch x86_64 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1plus \
	      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 ../intl/libintl.a -L/opt/local/lib -liconv 
cc -no-cpp-precomp -I/opt/local/include   -O2 -arch x86_64 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1obj \
		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 ../intl/libintl.a -L/opt/local/lib -liconv 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/build/gcc/ -B/opt/local/arm-none-linux-gnueabi/bin/ -B/opt/local/arm-none-linux-gnueabi/lib/ -isystem /opt/local/arm-none-linux-gnueabi/include -isystem /opt/local/arm-none-linux-gnueabi/sys-include -O2 -O2 -O2 -arch x86_64  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc/../include -I../intl  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time   \
	  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc/crtstuff.c -DCRT_BEGIN \
	  -o crtbegin.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/build/gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/build/gcc/ -B/opt/local/arm-none-linux-gnueabi/bin/ -B/opt/local/arm-none-linux-gnueabi/lib/ -isystem /opt/local/arm-none-linux-gnueabi/include -isystem /opt/local/arm-none-linux-gnueabi/sys-include -O2 -O2 -O2 -arch x86_64  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc/../include -I../intl  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time   -fPIC \
	  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-none-linux-gnueabi-gcc/work/gcc-2005q3/gcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \
	  -o crtbeginS.o
xgcc: x86_64: No such file or directory
xgcc: x86_64: No such file or directory
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-arch"
make[1]: *** [crtbegin.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [crtbeginS.o] Error 1
rm arm-none-linux-gnueabi-cpp.pod fsf-funding.pod gcov.pod arm-none-linux-gnueabi-gcc.pod gfdl.pod gpl.pod
make: *** [all-gcc] Error 2

Change History (9)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: arm-none-linux-gnueabi-gcc removed
Milestone: MacPorts 1.8.2
Owner: changed from macports-tickets@… to pguyot@…
Port: arm-none-linux-gnueabi-gcc added

comment:2 Changed 15 years ago by quadrilor@…

Ok I think the problem is 32 bit support libraries :(((

comment:3 Changed 15 years ago by ruslan@…

Cc: ruslan@… added

Cc Me!

comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:5 Changed 14 years ago by stephen@…

Cc: stephen@… added

Cc Me!

comment:6 in reply to:  5 Changed 14 years ago by stephen@…

Replying to stephen@…:

Cc Me!

Any chance of a fix for this... please..

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from pguyot@… to macports-tickets@…

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Removed use of -arch in r72091, but the build still doesn't succeed.

comment:9 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

r74940 - turns out it just has problems building as nobody.

Note: See TracTickets for help on using tickets.