[Bug 286334] Re: gcc crashes python 2.3 in intrepid

2008-11-05 Thread Kees Cook
(Or -U_FORTIFY_SOURCE) See https://wiki.ubuntu.com/CompilerFlags for more details. -- gcc crashes python 2.3 in intrepid https://bugs.launchpad.net/bugs/286334 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 286334] Re: gcc crashes python 2.3 in intrepid

2008-11-05 Thread Kees Cook
Marking as "Won't Fix" since this is an issue with the unpackaged python 2.3 source (and how it interacts with the Intrepid gcc). Short of fixing the realpath usage, the workaround mentioned (-D_FORTIFY_SOURCE=0) is right. ** Changed in: gcc-defaults (Ubuntu) Assignee: (unassigned) => Kees C

[Bug 286334] Re: gcc crashes python 2.3 in intrepid

2008-11-04 Thread Roger Binns
Thanks for the other workaround. The real bug is that gcc 4.3 with FORTIFY causes a binary to fail if there could be a buffer overrun, not if there definitely is one. -- gcc crashes python 2.3 in intrepid https://bugs.launchpad.net/bugs/286334 You received this bug notification because you are a

[Bug 286334] Re: gcc crashes python 2.3 in intrepid

2008-11-04 Thread Ori Peleg
There's a workaround without disabling optimization: http://orip.org/2008/10/building-python-235-on-ubuntu-intrepid.html Short version: add BASECFLAGS=-U_FORTIFY_SOURCE to the 'configure' command line. -- gcc crashes python 2.3 in intrepid https://bugs.launchpad.net/bugs/286334 You received this

[Bug 286334] Re: gcc crashes python 2.3 in intrepid

2008-10-20 Thread Roger Binns
As an addendum the workaround above only works during an early part of the build process. The full process fails with the same error above. Heck it even fails with -DPATH_MAX=16384. My conclusion is that the code in stdlib.h is pointlessly causing a failure without looking at the actual size of t

[Bug 286334] Re: gcc crashes python 2.3 in intrepid

2008-10-20 Thread Roger Binns
It works just under gcc-4.2. If I use -O0 under gcc-4.3 then it is also fine, but even -O1 is sufficient for the crash. $ ./configure CC=gcc-4.2 # works $ ./configure OPT="-g -O0" # works $ ./configure OPT="-g -O1" # splat Running gdb on the binary I get this: (gdb) bt #0 0

[Bug 286334] Re: gcc crashes python 2.3 in intrepid

2008-10-20 Thread Matthias Klose
probably will close as won't fix. does lowering the optimization level will help? does gcc-4.1 or gcc-4.2 dow work better for you? ** Changed in: gcc-defaults (Ubuntu) Status: New => Incomplete -- gcc crashes python 2.3 in intrepid https://bugs.launchpad.net/bugs/286334 You received this