1 |
I run this: |
2 |
ucgentoo:/ # ROOT=/usr/src/alpine/live/ CFLAGS="-Os -march=i386" USE="hardened" emerge uclibc |
3 |
|
4 |
Here is the last of the output: |
5 |
|
6 |
../../../../include/bits/socket.h:55:1: warning: this is the location of the previous definition |
7 |
In file included from ../../../../include/bits/socket.h:305, |
8 |
from ../../../../include/sys/socket.h:35, |
9 |
from ssp.c:29: |
10 |
../../../../include/asm/socket.h:58:1: warning: "SOCK_PACKET" redefined |
11 |
In file included from ../../../../include/sys/socket.h:35, |
12 |
from ssp.c:29: |
13 |
../../../../include/bits/socket.h:59:1: warning: this is the location of the previous definition |
14 |
In file included from ../../../../include/linux/list.h:5, |
15 |
from ../../../../include/linux/sysctl.h:23, |
16 |
from ../../../../include/sys/sysctl.h:28, |
17 |
from ssp.c:33: |
18 |
../../../../include/linux/prefetch.h: In function `prefetch_range': |
19 |
../../../../include/linux/prefetch.h:62: warning: implicit declaration of function `__cast__' |
20 |
../../../../include/linux/prefetch.h:62: error: syntax error before "char" |
21 |
../../../../include/linux/prefetch.h:64: error: syntax error before "char" |
22 |
../../../../include/linux/prefetch.h:64: error: syntax error before ')' token |
23 |
../../../../include/linux/prefetch.h:64: warning: statement with no effect |
24 |
make[4]: *** [ssp.o] Error 1 |
25 |
make[4]: Leaving directory `/var/tmp/portage/uclibc-0.9.26-r5/work/uClibc-0.9.26/libc/sysdeps/linux/common' |
26 |
make[3]: *** [common] Error 2 |
27 |
make[3]: Leaving directory `/var/tmp/portage/uclibc-0.9.26-r5/work/uClibc-0.9.26/libc/sysdeps/linux' |
28 |
make[2]: *** [_dir_linux] Error 2 |
29 |
make[2]: Leaving directory `/var/tmp/portage/uclibc-0.9.26-r5/work/uClibc-0.9.26/libc/sysdeps' |
30 |
make[1]: *** [_dir_sysdeps] Error 2 |
31 |
make[1]: Leaving directory `/var/tmp/portage/uclibc-0.9.26-r5/work/uClibc-0.9.26/libc' |
32 |
make: *** [_dir_libc] Error 2 |
33 |
|
34 |
!!! ERROR: dev-libs/uclibc-0.9.26-r5 failed. |
35 |
!!! Function src_compile, Line 202, Exitcode 2 |
36 |
!!! could not make |
37 |
|
38 |
|
39 |
It compiled without hardened in USE flags and with |
40 |
CFLAGS="-fstack-protector" but I haven't checked if it really was |
41 |
compiled with -fstack-protector. (How do I do that?) |
42 |
|
43 |
|
44 |
-- |
45 |
Natanael Copa |
46 |
|
47 |
-- |
48 |
gentoo-embedded@g.o mailing list |