New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21939 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

arm-elf-gcc fells to build

Reported by: bhadder@… Owned by: pguyot@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: snc@…, stephane.bachelier@…, cl@…, matt.massicotte@…, senn@…, andreas@…
Port: arm-elf-gcc

Description (last modified by jmr@…) (diff)

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.

Attachments

typescript (864.8 KB) - added by bhadder@… 4 years ago.
Debug session for port install arm-elf-gcc

Change History

Changed 4 years ago by bhadder@…

Debug session for port install arm-elf-gcc

comment:1 Changed 4 years ago by jmr@…

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

Please remember WikiFormatting and the Preview button.

comment:2 Changed 4 years ago by snc@…

  • Cc snc@… added

Cc Me!

comment:3 Changed 4 years ago by stephane.bachelier@…

  • Cc stephane.bachelier@… added

Cc Me!

comment:4 Changed 3 years ago by cl@…

  • Cc cl@… added

Cc Me!

comment:5 Changed 3 years ago by bhadder@…

I'm wondering if anyone is working on a fix for this.
Thanks.

comment:6 Changed 3 years ago by matt.massicotte@…

  • Cc matt.massicotte@… added

Cc Me!

comment:7 follow-up: ↓ 8 Changed 3 years ago by matt.massicotte@…

This appears to be related to #20816 and #21706

comment:8 in reply to: ↑ 7 ; follow-up: ↓ 9 Changed 3 years ago by bhadder@…

Replying to matt.massicotte@…:

This appears to be related to #20816 and #21706

I agree. I didn't see those before. For some reason, I can only find them through google. Searches on macports brings up this ticket, and your links seem to be dead.

20816 says fixed and for some reason, I can't tell what it is. There still doesn't seem to be a fix for 21706 either.

comment:9 in reply to: ↑ 8 ; follow-up: ↓ 10 Changed 3 years ago by bhadder@…

Replying to bhadder@…:

Replying to matt.massicotte@…:

This appears to be related to #20816 and #21706

I agree. I didn't see those before. For some reason, I can only find them through google. Searches on macports brings up this ticket, and your links seem to be dead.

20816 says fixed and for some reason, I can't tell what it is. There still doesn't seem to be a fix for 21706 either.

I have to clarify some of my comments that may not have made much sence.

I mentioned links in your post. I see now that they aren't links. I'm blind and am using Voiceover which is a screen reading program built in os10 and for some reason it it announcing the block quotes as links. I figured this out after looking closer at the wiki formatting page.

Sorry for cluttering up the ticket, but IJust wanted to clear that up.

comment:10 in reply to: ↑ 9 ; follow-up: ↓ 11 Changed 3 years ago by matt.massicotte@…

Replying to bhadder@…:

Replying to bhadder@…:

Replying to matt.massicotte@…:

This appears to be related to #20816 and #21706

I agree. I didn't see those before. For some reason, I can only find them through google. Searches on macports brings up this ticket, and your links seem to be dead.

20816 says fixed and for some reason, I can't tell what it is. There still doesn't seem to be a fix for 21706 either.

I have to clarify some of my comments that may not have made much sence.

I mentioned links in your post. I see now that they aren't links. I'm blind and am using Voiceover which is a screen reading program built in os10 and for some reason it it announcing the block quotes as links. I figured this out after looking closer at the wiki formatting page.

Sorry for cluttering up the ticket, but IJust wanted to clear that up.

After some struggling, I was able to successfully build the i386-elf-gcc port by applying the changes referenced for those two tickets. Sorry I messed up the links, it was not clear to me how exactly to do it. Those same changes will likely help correct this problem as well.

comment:11 in reply to: ↑ 10 Changed 3 years ago by yivanov@…

Replying to matt.massicotte@…:

Replying to bhadder@…:

Replying to bhadder@…:

Replying to matt.massicotte@…:

This appears to be related to #20816 and #21706

I agree. I didn't see those before. For some reason, I can only find them through google. Searches on macports brings up this ticket, and your links seem to be dead.

20816 says fixed and for some reason, I can't tell what it is. There still doesn't seem to be a fix for 21706 either.

I have to clarify some of my comments that may not have made much sence.

I mentioned links in your post. I see now that they aren't links. I'm blind and am using Voiceover which is a screen reading program built in os10 and for some reason it it announcing the block quotes as links. I figured this out after looking closer at the wiki formatting page.

Sorry for cluttering up the ticket, but IJust wanted to clear that up.

After some struggling, I was able to successfully build the i386-elf-gcc port by applying the changes referenced for those two tickets. Sorry I messed up the links, it was not clear to me how exactly to do it. Those same changes will likely help correct this problem as well.

I am having the same problem in SnowLeopard. The same installation on Leopard works fine. I am not sure what the solution is and how you managed to build it. I looked at the referenced tickets, but it didn't help to fix it. Can you describe what you did? Thanks!

comment:12 Changed 3 years ago by senn@…

  • Cc senn@… added

Cc Me!

comment:13 Changed 3 years ago by andreas@…

  • Cc andreas@… added

Cc Me!

comment:14 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

comment:15 Changed 3 years ago by bhadder@…

Thanks allot!

Now I don't have to use cygwin for this.

Note: See TracTickets for help on using tickets.