Opened 13 years ago
Closed 6 years ago
#32480 closed defect (fixed)
gcc47: Segmentation fault in build/genattrtab
Reported by: | dougmencken@… | Owned by: | macports-tickets@… |
---|---|---|---|
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 (1)
Change History (7)
Changed 13 years ago by dougmencken@…
Attachment: | gcc47_macports_build.log added |
---|
comment:1 Changed 13 years ago by dougmencken@…
It is happening at stage2 of GCC bootstrap:
$ cat gcc47/work/build/stage_current stage2
comment:2 Changed 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to mww@… |
---|
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | leopard powerpc added |
---|---|
Summary: | gcc47 @OSX10.5.8 PowerPC - Error: Status 1 encountered during processing → gcc47: Segmentation fault in build/genattrtab |
comment:5 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | changed from mww@… to macports-tickets@… |
---|---|
Status: | new → assigned |
comment:6 Changed 6 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
No response; assuming fixed. Please reopen if not.
Note: See
TracTickets for help on using
tickets.
gcc47/main.log