Opened 15 years ago

Last modified 14 years ago

#21939 closed defect

arm-elf-gcc fells to build — at Version 1

Reported by: bhadder@… Owned by: pguyot@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: arm-elf-gcc

Description (last modified by jmroot (Joshua Root))

When I try to build and install arm-elf-gcc, I get the falling error.

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-elf-gcc/work/build" && /usr/bin/make -j2 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 " returned error 2
build/genchecksum cc1-dummy > cc1-checksum.c
cc -no-cpp-precomp -I/opt/local/include   -O2 -arch x86_64 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -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 -L/opt/local/lib -o cc1plus-dummy \
	      cp/cp-lang.o stub-objc.o 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-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o arm-c.o c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o tree-inline.o dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -lintl -liconv -lc   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lmpfr -lgmp
ld: duplicate symbol _init_inline_once in libbackend.a(tree-inline.o) and tree-inline.o
collect2: ld returned 1 exit status
make[2]: *** [cc1plus-dummy] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

I'm also attaching the entire typescript of the build attempt incase it is helpful. Sorry about the size.

I also submitted it for tick 21758, but upon closer inspection, I think that I'm having a different issue as I seem to be unable to build at all.

Change History (2)

Changed 15 years ago by bhadder@…

Attachment: typescript added

Debug session for port install arm-elf-gcc

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

Description: modified (diff)
Keywords: arm-elf-gcc removed
Milestone: MacPorts 1.8.2
Owner: changed from macports-tickets@… to pguyot@…

Please remember WikiFormatting and the Preview button.

Note: See TracTickets for help on using tickets.