[Bug 868924] Re: hardening_patches not enabled for cross builds
This bug was fixed in the package gcc-4.6-armel-cross - 1.56 --- gcc-4.6-armel-cross (1.56) precise; urgency=low * Enabled hardening patches for cross - closes LP: #868924 * Bumped gcc-4.6 version to 4.6.2-7 as this one has all my patches merged. * Dropped gcc-4.4 build dependency. * Added lintian overrides. * Added build-{arch,indep} targets. -- Marcin JuszkiewiczMon, 12 Dec 2011 16:54:17 +0100 ** Changed in: gcc-4.6-armel-cross (Ubuntu) Status: Fix Committed => 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/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
** Changed in: gcc-4.6 (Ubuntu) Status: Fix Committed => Fix Released ** Changed in: gcc-4.6-armel-cross (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
** Branch linked: lp:ubuntu/armhf-cross-toolchain-base -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
** Changed in: gcc-4.6 (Ubuntu) Status: Won't Fix => Fix Committed ** Changed in: gcc-4.6-armel-cross (Ubuntu) Status: Confirmed => In Progress ** No longer affects: gcc-linaro -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
the gcc-snapshot packages stays as close as possible to upstream to check for issues in the development version of GCC. therefore the hardening patches are not applied. ** Changed in: gcc-4.6 (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
** Branch linked: lp:~hrw/ubuntu/precise/gcc-4.6/cross-fixes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
** Also affects: gcc-linaro Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 868924] Re: hardening_patches not enabled for cross builds
The cross compiler should produce the same results as the native compiler. Since hardening is enabled there, it should be enabled in the cross-compiler too. This looks like a specific problem with the glibc build. IIRC, fortify was explicitly disabled for glibc builds in Ubuntu. doko would know more. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
hardening should not be enabled in armel-cross-toolchain-base: root@puchatek:~/armel-cross-toolchain-base-1.76/eglibc-2.13/misc# arm-linux-gnueabi-gcc ../sysdeps/unix/sysv/linux/syslog.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fstrict-aliasing -g -pipe -Wstrict-prototypes -fexceptions -I../include -I/tmp/buildd/armel-cross-toolchain-base-1.76/eglibc-2.13/build-tree/armel-libc/misc -I/tmp/buildd/armel-cross-toolchain-base-1.76/eglibc-2.13/build-tree/armel-libc -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl -I../ports/sysdeps/unix/sysv/linux/arm/eabi -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/fpu -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../nptl -I.. -I../libio -I. -nostdinc -isystem /tmp/buildd/armel-cross-toolchain-base-1.76/debian/tmp/usr/bin/../lib/gcc/arm-linux-gnueabi/4.6.1/include -isystem /tmp/buildd/armel-cross-toolchain-base-1.76/debian/tmp/usr/bin/../lib/gcc/arm-linux-gnueabi/4.6.1/include-fixed -isystem /tmp/buildd/armel-cross-toolchain-base-1.76/eglibc-2.13/debian/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /tmp/buildd/armel-cross-toolchain-base-1.76/eglibc-2.13/build-tree/armel-libc/misc/syslog.o -MD -MP -MF /tmp/buildd/armel-cross-toolchain-base-1.76/eglibc-2.13/build-tree/armel-libc/misc/syslog.o.dt -MT /tmp/buildd/armel-cross-toolchain-base-1.76/eglibc-2.13/build-tree/armel-libc/misc/syslog.o In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:0: ../misc/syslog.c: In function '__vsyslog_chk': ../misc/syslog.c:144:9: warning: variable 'prioff' set but not used [-Wunused-but-set-variable] ../misc/syslog.c:123:1: sorry, unimplemented: inlining failed in call to 'syslog': function body not available ../misc/syslog.c:155:9: sorry, unimplemented: called from here -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
The attachment "enable-hardening-for-cross.diff" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868924] Re: hardening_patches not enabled for cross builds
This patch applies hardening patches for cross builds. ** Patch added: "enable-hardening-for-cross.diff" https://bugs.launchpad.net/ubuntu/+source/gcc-4.6-armel-cross/+bug/868924/+attachment/2516823/+files/enable-hardening-for-cross.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868924 Title: hardening_patches not enabled for cross builds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/868924/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs