Opened 13 years ago

Closed 12 years ago

#30984 closed defect (duplicate)

i386-mingw32-gcc @3.4.5-20060117-2 Compilation under Snow Leopard fails with Segmentation fault

Reported by: Nikolay.Sokolov@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: quanxunzhen@…
Port: i386-mingw32-gcc

Description (last modified by mf2k (Frank Schima))

Installation of i386-mingw32-gcc fails with:

:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386-mingw32-gcc/i386-mingw32-gcc/work/build" && /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)

Given command fails with Segmentation fault.

main.log and output of command are attached.

Attachments (2)

main.log (1.7 MB) - added by Nikolay.Sokolov@… 13 years ago.
make.log (25.5 KB) - added by Nikolay.Sokolov@… 13 years ago.
Output of failed command

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by Nikolay.Sokolov@…

Attachment: main.log added

Changed 13 years ago by Nikolay.Sokolov@…

Attachment: make.log added

Output of failed command

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to landonf@…

comment:2 Changed 13 years ago by quanxunzhen@…

I met this problem as well, and I finally successfully compiled mingw by modify the file which cause the segmentation fault: rope (on line 65 in the second main.log file Nikolay attached). I just removed the content of macro ROPE_DEFINE_ALLOCS on line 417, and it works.

In fact, I don't know why, but it seems to work fine without the content of that macro. However, I cannot promise that it won't cause any problem in the future, and I had no chance to test anymore because macports remove the files after successful compilation.

comment:3 Changed 13 years ago by quanxunzhen@…

Cc: quanxunzhen@… added

Cc Me!

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

You're building with llvm-gcc-4.2, so this is the same as #30349.

Note: See TracTickets for help on using tickets.