Opened 13 years ago
Closed 13 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)
Change History (6)
Changed 13 years ago by Nikolay.Sokolov@…
Changed 13 years ago by Nikolay.Sokolov@…
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:4 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
You're building with llvm-gcc-4.2, so this is the same as #30349.
Output of failed command