[Bug 601030] Re: broken configuration test with fortify source

2015-06-17 Thread Rolf Leggewie
lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix". ** Changed in: eglibc (Ubuntu Lucid) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is sub

[Bug 601030] Re: broken configuration test with fortify source

2014-07-08 Thread Will Newton
** Changed in: linaro-toolchain-misc Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/601030 Title: broken configuration test with fortify source To manage not

[Bug 601030] Re: broken configuration test with fortify source

2011-05-25 Thread Bug Watch Updater
Launchpad has imported 4 comments from the remote bug at http://sourceware.org/bugzilla/show_bug.cgi?id=11968. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://he

[Bug 601030] Re: broken configuration test with fortify source

2010-09-19 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/eglibc -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https:/

[Bug 601030] Re: broken configuration test with fortify source

2010-09-10 Thread Matthias Klose
fixed in maverick, and gawk built ** Changed in: eglibc (Ubuntu Maverick) Status: In Progress => Fix Released ** Changed in: gawk (Ubuntu Maverick) Status: Invalid => Fix Released ** Changed in: gawk (Ubuntu Maverick) Milestone: ubuntu-10.10-beta => None -- broken configurati

[Bug 601030] Re: broken configuration test with fortify source

2010-09-09 Thread Brian Murray
** Tags added: patch -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.

[Bug 601030] Re: broken configuration test with fortify source

2010-09-09 Thread Matthias Klose
** Changed in: eglibc (Ubuntu Maverick) Status: Confirmed => In Progress ** Changed in: eglibc (Ubuntu Maverick) Milestone: ubuntu-10.10-beta => ubuntu-10.10 ** Changed in: eglibc (Ubuntu Maverick) Assignee: Canonical Foundations Team (canonical-foundations) => (unassigned) --

[Bug 601030] Re: broken configuration test with fortify source

2010-09-08 Thread Kees Cook
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c044aa75354b48d4b7aaffe465706282192e54c2 ** Patch added: "c044aa75354b48d4b7aaffe465706282192e54c2.patch" https://bugs.edge.launchpad.net/ubuntu/+source/eglibc/+bug/601030/+attachment/1558654/+files/c044aa75354b48d4b7aaffe465706282192e54c2

[Bug 601030] Re: broken configuration test with fortify source

2010-09-02 Thread Bug Watch Updater
** Changed in: glibc Status: Unknown => Confirmed -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@li

[Bug 601030] Re: broken configuration test with fortify source

2010-09-02 Thread Kees Cook
** Package changed: gcc-4.4 (Ubuntu Maverick) => eglibc (Ubuntu Maverick) ** Bug watch added: Sourceware.org Bugzilla #11968 http://sourceware.org/bugzilla/show_bug.cgi?id=11968 ** Also affects: glibc via http://sourceware.org/bugzilla/show_bug.cgi?id=11968 Importance: Unknown Sta

[Bug 601030] Re: broken configuration test with fortify source

2010-09-02 Thread Kees Cook
Oh, and it fails for me with gcc-4.3 and gcc-4.5 as well. I think the differences in failure modes was due to stack randomization somehow. ** Attachment removed: "minimal.c" https://bugs.edge.launchpad.net/ubuntu/+source/gcc-4.4/+bug/601030/+attachment/1537770/+files/minimal.c -- broken conf

[Bug 601030] Re: broken configuration test with fortify source

2010-09-02 Thread Kees Cook
** Attachment added: "minimal.c" https://bugs.edge.launchpad.net/ubuntu/+source/gcc-4.4/+bug/601030/+attachment/1537771/+files/minimal.c -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubu

[Bug 601030] Re: broken configuration test with fortify source

2010-09-02 Thread Kees Cook
** Attachment added: "minimal.c" https://bugs.edge.launchpad.net/ubuntu/+source/gcc-4.4/+bug/601030/+attachment/1537770/+files/minimal.c -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubu

[Bug 601030] Re: broken configuration test with fortify source

2010-09-02 Thread Kees Cook
FWIW, this is broken on Lucid too. I've attached a slightly more minimal testcase that disables stack randomization and adds an alarm call to make the loop more obvious. ** Attachment added: "minimal.c" https://bugs.edge.launchpad.net/ubuntu/+source/gcc-4.4/+bug/601030/+attachment/1537759/+fil

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Michael Hope
** Also affects: linaro-toolchain-misc Importance: Undecided Status: New ** Changed in: gcc-linaro Status: New => Invalid ** Changed in: linaro-toolchain-misc Importance: Undecided => High ** Changed in: linaro-toolchain-misc Assignee: (unassigned) => Chung-Lin Tang (clt

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Michael Hope
eglibc-2.11.1/sysdeps/unix/sysv/linux/x86_64/longjmp_chk.S is broken. It saves the value of 'pass' in ecx for later use but ecx is trashed by a syscall. The syscall is used to bring in the signal stack so that the fortify code can print an error message if needed. The problem goes away with

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Michael Hope
The fault occurs as the 'pass' value given to longjmp() gets corrupted before use by setjmp(), causing the 'setjmp() < 2' test to fail and the system to loop forever. The only assembler level fortify/non-fortify difference is a call to longjmp_chk instead of longjmp. Note that shifting 'mystack'

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Loïc Minier
** Also affects: gcc-linaro Importance: Undecided Status: New ** Tags added: amd64 -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ub

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Colin Watson
I went through all the optimisations that are in -O2 but not -O1 (-falign-functions -falign-jumps -falign-labels -fcaller-saves -fcrossjumping -fcse-follow-jumps -fdelete-null-pointer-checks -fexpensive-optimizations -fforward-propagate -fgcse -finline-small- functions -fipa-cp -foptimize-register-

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Colin Watson
It seems to go into the same infinite loop under strace both with -O2 and -O1, although -O1 exits normally and immediately without strace. -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubuntu

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Colin Watson
** Attachment added: "preprocessed source" https://bugs.edge.launchpad.net/ubuntu/+source/gcc-4.4/+bug/601030/+attachment/1534143/+files/conftest.i -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a me

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Colin Watson
Confirmed in ronne's maverick amd64 chroot. Attached conftest.c and preprocessed source. strace shows: ... setrlimit(RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}) = 0 sigaltstack({ss_sp=0x7fffd7df0130, ss_flags=0, ss_size=8192}, NULL) = 0 rt_sigaction(SIGSEGV, {0x4008d0, [], SA_RESTORE

[Bug 601030] Re: broken configuration test with fortify source

2010-09-01 Thread Matthias Klose
the test succeeds with gcc-4.4 in maverick built without the Linaro patchset. -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailin

[Bug 601030] Re: broken configuration test with fortify source

2010-08-30 Thread Matthias Klose
still reproducible for me on maverick, note that on Debian/sid, it does work: gcc-4.4 -g -O2 -fstack-protector -D_FORTIFY_SOURCE -Wall conftest.c && ./a.out -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are

[Bug 601030] Re: broken configuration test with fortify source

2010-08-27 Thread Colin Watson
I can't seem to reproduce this in current Maverick; gawk builds fine. -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list u

[Bug 601030] Re: broken configuration test with fortify source

2010-08-26 Thread Robbie Williamson
** Changed in: gcc-4.4 (Ubuntu Maverick) Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) ** Changed in: gawk (Ubuntu Maverick) Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) -- broken configuration test with fortify source h

[Bug 601030] Re: broken configuration test with fortify source

2010-08-04 Thread Martin Pitt
** Changed in: gawk (Ubuntu Maverick) Milestone: maverick-alpha-3 => ubuntu-10.10-beta ** Changed in: gcc-4.4 (Ubuntu Maverick) Milestone: maverick-alpha-3 => ubuntu-10.10-beta -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug

[Bug 601030] Re: broken configuration test with fortify source

2010-07-02 Thread Matthias Klose
breaks the gawk build on amd64 ** Changed in: gawk (Ubuntu Maverick) Importance: Undecided => High ** Changed in: gawk (Ubuntu Maverick) Status: New => Confirmed ** Changed in: gawk (Ubuntu Maverick) Milestone: None => maverick-alpha-3 -- broken configuration test with fortify so

[Bug 601030] Re: broken configuration test with fortify source

2010-07-02 Thread Matthias Klose
seen on amd64 ** Changed in: gcc-4.4 (Ubuntu Maverick) Importance: Undecided => High ** Changed in: gcc-4.4 (Ubuntu Maverick) Status: New => Confirmed ** Changed in: gcc-4.4 (Ubuntu Maverick) Milestone: None => maverick-alpha-3 ** Also affects: gawk (Ubuntu) Importance: Undeci

[Bug 601030] Re: broken configuration test with fortify source

2010-07-02 Thread Matthias Klose
** Attachment added: "conftest.c" http://launchpadlibrarian.net/51288395/conftest.c ** Also affects: gcc-4.4 (Ubuntu Maverick) Importance: Undecided Status: New -- broken configuration test with fortify source https://bugs.launchpad.net/bugs/601030 You received this bug notificati