New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32480 (new defect)

Opened 18 months ago

Last modified 11 months ago

gcc47: Segmentation fault in build/genattrtab

Reported by: dougmencken@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: leopard powerpc Cc:
Port: gcc47

Description

I'm trying to build GCC 4.7 with MacPorts. That's what I've got:

$ sudo port mdmg gcc47
Password:
--->  Computing dependencies for gcc47
--->  Building gcc47
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for gcc47 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

It was a second unsuccessful attempt after I upgraded Xcode tools to the latest available ones (v3.1.4).

gcc47/main.log is attached. Parts of log which looks related to this error:

/opt/local/ppc-apple-darwin9/sys-include    -c   -g -O2 -mdynamic-no-pic -gtoggle -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.7-20111203/gcc -I../../gcc-4.7-20111203/gcc/build -I../../gcc-4.7-20111203/gcc/../include -I../../gcc-4.7-20111203/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I../../gcc-4.7-20111203/gcc/../libdecnumber -I../../gcc-4.7-20111203/gcc/../libdecnumber/dpd -I../libdecnumber    \
:info:build 		-o build/gcov-iov.o ../../gcc-4.7-20111203/gcc/gcov-iov.c
:info:build build/genattrtab ../../gcc-4.7-20111203/gcc/config/rs6000/rs6000.md \
:info:build 	  insn-conditions.md > tmp-attrtab.c
:info:build /bin/sh: line 1: 91481 Segmentation fault      build/genattrtab ../../gcc-4.7-20111203/gcc/config/rs6000/rs6000.md insn-conditions.md > tmp-attrtab.c
:info:build make[3]: *** [s-attrtab] Error 139
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build/gcc'
:info:build make[2]: *** [all-stage2-gcc] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build'
:info:build make[1]: *** [stage2-bubble] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/work/build'
:info:build make: *** [bootstrap] Error 2
:info:build make: Leaving directory

Attachments

gcc47_macports_build.log (42.6 KB) - added by dougmencken@… 18 months ago.
gcc47/main.log

Change History

Changed 18 months ago by dougmencken@…

gcc47/main.log

comment:1 Changed 18 months ago by dougmencken@…

It is happening at stage2 of GCC bootstrap:

$ cat gcc47/work/build/stage_current 
stage2

comment:2 Changed 18 months ago by macsforever2000@…

  • Owner changed from macports-tickets@… to mww@…

comment:3 Changed 18 months ago by ryandesign@…

  • Keywords leopard powerpc added
  • Summary changed from gcc47 @OSX10.5.8 PowerPC - Error: Status 1 encountered during processing to gcc47: Segmentation fault in build/genattrtab

comment:4 Changed 11 months ago by jmr@…

Is this still a problem with 4.7.1?

Note: See TracTickets for help on using tickets.