Summary: | app-office/lyx-1.3.4 fails to compile with gcc 3.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mikko Tiihonen <mikko.tiihonen> |
Component: | Current packages | Assignee: | Text-Markup Team (OBSOLETE) <text-markup+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ed |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 48528 | ||
Attachments: |
Compile log with empty CFLAGS and CXXFLAGS
1.3.4-gcc3.4.patch 1.3.4-gcc3.4.patch |
Description
Mikko Tiihonen
2004-04-22 23:17:24 UTC
Perhaps make your CFLAGS right, not even god could make those CFLAGS work on an opteron at this point. Created attachment 30064 [details]
Compile log with empty CFLAGS and CXXFLAGS
The problem is that gcc 3.4 is much more strict with the C++ code it compiles
and Lyx needs to be fixed. And as I said the and Lyx mailing lists already
contain some patches.
Btw. my CFLAGS are more conservative than -O3, the --param options just
increases the compilation time 3x in hope that more optimization passes would
save a few bytes. They do not imply different than optimization passes just
make the gcc try a bit harder as I don't mind longer compilation times.
Thank you for failing to provide a link. http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg68967.html Created attachment 31443 [details, diff]
1.3.4-gcc3.4.patch
Created attachment 31446 [details, diff]
1.3.4-gcc3.4.patch
Extra part to patch needed.
The patch worked great on my machine. I didn't need anything else to make LyX compile here. This patch was applied to 1.3.4 already, and 1.3.5 (upstream) contains the fixes. |