[MacPorts] #21939: arm-elf-gcc fells to build

MacPorts noreply at macports.org
Fri Oct 9 03:37:40 PDT 2009


#21939: arm-elf-gcc fells to build
---------------------------------+------------------------------------------
 Reporter:  bhadder@…            |       Owner:  pguyot@…           
     Type:  defect               |      Status:  new                
 Priority:  Normal               |   Milestone:                     
Component:  ports                |     Version:  1.8.1              
 Keywords:                       |        Port:  arm-elf-gcc        
---------------------------------+------------------------------------------
Changes (by jmr@…):

  * keywords:  arm-elf-gcc =>
  * owner:  macports-tickets@… => pguyot@…
  * milestone:  MacPorts 1.8.2 =>


Old description:

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

New description:

 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.

--

Comment:

 Please remember WikiFormatting and the Preview button.

-- 
Ticket URL: <http://trac.macports.org/ticket/21939#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list