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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to