| Summary: | Duke3D fails to compile with gcc 4.3 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | butters |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | vincent |
| Priority: | High | ||
| Version: | 1.4 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Build log yields into ACCESS VIOLATION | ||
|
Description
butters
2003-08-19 22:50:51 UTC
remove some of your optimizations and try again This fails with default optimizations used in AthlonXP stages. I believe a flag stripper should be added to this ebuild to remove the flags causing the problems. Fixed in CVS. I was able to reproduce this so I filtered -O3 down to -O2 which worked fine for me. Please also filter out -Os, which doesn't work either, though it is a commonly used option on Via C3-2 and other processors with little cache. -Os will automatically get filtered out unless you're using unstable keywords. Then it's assumed you know what you're doing and you get to keep both pieces if things break. -O2 (I'm with gcc-4.3.2) raise again this bug :( I have gcc-4.3.3 and with my normam CFLAGS I get the expected error, which is described in this bug. With env CFLAGS="" emerge -v duke3d I get: >>> Source compiled. >>> Test phase [not enabled]: games-fps/duke3d-20040817-r2 >>> Install duke3d-20040817-r2 into /usr/src/tmp/portage/games-fps/duke3d-20040817-r2/image/ category games-fps >>> Completed installing duke3d-20040817-r2 into /usr/src/tmp/portage/games-fps/duke3d-20040817-r2/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-2909.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: fchownat S: deny P: /proc/3062/fd/5/DUKE3D.CFG A: /proc/3062/fd/5/DUKE3D.CFG R: /etc/games/duke3d.cfg C: chown root:games -R /usr/src/tmp/portage/games-fps/duke3d-20040817-r2/image///usr/share/games -------------------------------------------------------------------------------- >>> Failed to emerge games-fps/duke3d-20040817-r2, Log file: >>> '/usr/src/tmp/portage/games-fps/duke3d-20040817-r2/temp/build.log' Created attachment 181117 [details]
Build log yields into ACCESS VIOLATION
Fixed in portage. Thanks Related to comment #7. I don't get it. If still present open a new bug |