Ticket #30349 (closed defect: fixed)
i386-mingw32-gcc @3.4.5-20060117-2 Compilation under Lion fails with Segmentation fault: 11
| Reported by: | panayotis@… | Owned by: | landonf@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.0 |
| Keywords: | lion | Cc: | justin.smith@…, noreply@…, peica@…, snc@… |
| Port: | i386-mingw32-gcc |
Description
After a clean install of Macports 2.0.0 under Lion, compilation of i386-mingw32-gcc fails with error. Attached is the error log.
Attachments
Change History
comment:1 Changed 22 months ago by jmr@…
- Owner changed from macports-tickets@… to landonf@…
- Keywords lion added; Lion removed
- Port set to i386-mingw32-gcc
Please remember to fill in the Port field and cc the maintainer.
comment:2 follow-up: ↓ 3 Changed 22 months ago by terrayi@…
It however compiles well with macports-gcc-45.
comment:3 in reply to: ↑ 2 Changed 22 months ago by justin.smith@…
Replying to terrayi@…:
It however compiles well with macports-gcc-45.
I'm not even able to get it to compile with macports-gcc-45.
sudo port select gcc mp-gcc45 Selecting 'mp-gcc45' for 'gcc' succeeded. 'mp-gcc45' is now active.
And still get the same output as OP, port is still trying to use llvm-gcc-4.2
comment:7 Changed 21 months ago by peica@…
I add
if {${configure.compiler} == "llvm-gcc-4.2"} {
configure.compiler gcc-4.2
}
into /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/cross/i386-mingw32-gcc/Portfile
and it seem to be OK.
comment:8 Changed 20 months ago by snc@…
- Status changed from new to closed
- Cc snc@… added
- Resolution set to fixed
Maintainer timeout. r85313.
comment:9 Changed 20 months ago by jmr@…
That doesn't work on systems where there is no gcc-4.2. You have to add a dependency on apple-gcc42 in that case, and this port also doesn't build with clang. Fixed in r85380.
comment:10 Changed 20 months ago by peica@…
Sorry, I am not familiar with the port script. But it work for me.


Log file