Summary: | dev-libs/uclibc-0.9.26-r7 doesn´t compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Korff <christian.korff> |
Component: | [OLD] Library | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ps.m |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/uclibc-0.9.26-r7/temp/uclibc-0.9.26-ssp-gcc34-after-frandom.patch-8951.out
rejects log file /var/log/portage/2729-uclibc-0.9.26-r7.log |
Description
Christian Korff
2004-10-12 07:52:27 UTC
damnit. Ok.. I'll have to fix this one. Let me add some people to the CC: here. rsync and try again now. (same version) Created attachment 41710 [details] /var/tmp/portage/uclibc-0.9.26-r7/temp/uclibc-0.9.26-ssp-gcc34-after-frandom.patch-8951.out Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/uclibc-0.9.26-r7 to / >>> md5 src_uri ;-) uClibc-0.9.26.tar.bz2 >>> md5 src_uri ;-) uClibc-0.9.26-cvs-update-20040808.patch.bz2 >>> md5 src_uri ;-) uClibc-0.9.26-patches-1.1.tar.bz2 >>> Unpacking source... >>> Unpacking uClibc-0.9.26.tar.bz2 to /var/tmp/portage/uclibc-0.9.26-r7/work >>> Unpacking uClibc-0.9.26-cvs-update-20040808.patch.bz2 to /var/tmp/portage/uclibc-0.9.26-r7/work >>> Unpacking uClibc-0.9.26-patches-1.1.tar.bz2 to /var/tmp/portage/uclibc-0.9.26-r7/work * Applying uClibc-0.9.26-cvs-update-20040808.patch.bz2... [ ok ] * Applying uclibc-0.9.26-ssp-gcc34-after-frandom.patch... * Failed Patch: uclibc-0.9.26-ssp-gcc34-after-frandom.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/uclibc-0.9.26-r7/temp/uclibc-0.9.26-ssp-gcc34-after-frandom.patch-8951.out !!! ERROR: dev-libs/uclibc-0.9.26-r7 failed. !!! Function epatch, Line 402, Exitcode 0 !!! Failed Patch: uclibc-0.9.26-ssp-gcc34-after-frandom.patch! /var/tmp/portage/uclibc-0.9.26-r7/temp/uclibc-0.9.26-ssp-gcc34-after-frandom.patch-8951.out is attached. I can Created attachment 41710 [details] /var/tmp/portage/uclibc-0.9.26-r7/temp/uclibc-0.9.26-ssp-gcc34-after-frandom.patch-8951.out Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/uclibc-0.9.26-r7 to / >>> md5 src_uri ;-) uClibc-0.9.26.tar.bz2 >>> md5 src_uri ;-) uClibc-0.9.26-cvs-update-20040808.patch.bz2 >>> md5 src_uri ;-) uClibc-0.9.26-patches-1.1.tar.bz2 >>> Unpacking source... >>> Unpacking uClibc-0.9.26.tar.bz2 to /var/tmp/portage/uclibc-0.9.26-r7/work >>> Unpacking uClibc-0.9.26-cvs-update-20040808.patch.bz2 to /var/tmp/portage/uclibc-0.9.26-r7/work >>> Unpacking uClibc-0.9.26-patches-1.1.tar.bz2 to /var/tmp/portage/uclibc-0.9.26-r7/work * Applying uClibc-0.9.26-cvs-update-20040808.patch.bz2... [ ok ] * Applying uclibc-0.9.26-ssp-gcc34-after-frandom.patch... * Failed Patch: uclibc-0.9.26-ssp-gcc34-after-frandom.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/uclibc-0.9.26-r7/temp/uclibc-0.9.26-ssp-gcc34-after-frandom.patch-8951.out !!! ERROR: dev-libs/uclibc-0.9.26-r7 failed. !!! Function epatch, Line 402, Exitcode 0 !!! Failed Patch: uclibc-0.9.26-ssp-gcc34-after-frandom.patch! /var/tmp/portage/uclibc-0.9.26-r7/temp/uclibc-0.9.26-ssp-gcc34-after-frandom.patch-8951.out is attached. I can´t find ssp.c.rej so I won´t include this file. If you need it please mention how to get this file (it seems to get deleted or something Created attachment 41711 [details]
rejects
I manually tried patch
-p0</usr/portage/dev-libs/uclibc/files/0.9.26/uclibc-0.9.26-ssp-gcc34-after-frandom.patch
patching file ./libc/sysdeps/linux/common/ssp.c
Hunk #1 FAILED at 44.
1 out of 1 hunk FAILED -- saving rejects to file
./libc/sysdeps/linux/common/ssp.c.rej
And now i also can include the saved rejects.
Oh joy.. Gotta love these "after" patches. rsync and try again now. (same version) I reverted the ssp.c back to -r1.1 Created attachment 41793 [details]
log file /var/log/portage/2729-uclibc-0.9.26-r7.log
it still doesn
Created attachment 41793 [details]
log file /var/log/portage/2729-uclibc-0.9.26-r7.log
it still doesn´t compile
a full logfile is attached
strip -x -R .note -R .comment sbrk.o
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-mpreferred-stack-boundary=2 -falign-jumps=0 -falign-loops=0 -Os
-funit-at-a-time -fno-stack-protector-all -fstack-protector -fno-builtin
-nostdinc -D_LIBC -I../../../../include -I.
-I/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include -DNDEBUG -fPIC -c ssp.c -o ssp.o
In file included from ../../../../include/bits/socket.h:305,
from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/asm/socket.h:53:1: warning: "SOCK_STREAM" redefined
In file included from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/bits/socket.h:45:1: warning: this is the location of the
previous definition
In file included from ../../../../include/bits/socket.h:305,
from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/asm/socket.h:54:1: warning: "SOCK_DGRAM" redefined
In file included from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/bits/socket.h:48:1: warning: this is the location of the
previous definition
In file included from ../../../../include/bits/socket.h:305,
from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/asm/socket.h:55:1: warning: "SOCK_RAW" redefined
In file included from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/bits/socket.h:50:1: warning: this is the location of the
previous definition
In file included from ../../../../include/bits/socket.h:305,
from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/asm/socket.h:56:1: warning: "SOCK_RDM" redefined
In file included from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/bits/socket.h:52:1: warning: this is the location of the
previous definition
In file included from ../../../../include/bits/socket.h:305,
from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/asm/socket.h:57:1: warning: "SOCK_SEQPACKET" redefined
In file included from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/bits/socket.h:55:1: warning: this is the location of the
previous definition
In file included from ../../../../include/bits/socket.h:305,
from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/asm/socket.h:58:1: warning: "SOCK_PACKET" redefined
In file included from ../../../../include/sys/socket.h:35,
from ssp.c:29:
../../../../include/bits/socket.h:59:1: warning: this is the location of the
previous definition
ssp.c:48:1: warning: "__attribute_used__" redefined
In file included from ../../../../include/features.h:303,
from ../../../../include/stdio.h:28,
from ssp.c:23:
../../../../include/sys/cdefs.h:191:1: warning: this is the location of the
previous definition
In file included from ../../../../include/linux/list.h:5,
from ../../../../include/linux/sysctl.h:23,
from ../../../../include/sys/sysctl.h:28,
from ssp.c:33:
../../../../include/linux/prefetch.h: In function `prefetch_range':
../../../../include/linux/prefetch.h:63: warning: implicit declaration of
function `__cast__'
../../../../include/linux/prefetch.h:63: error: parse error before "char"
../../../../include/linux/prefetch.h:65: error: parse error before "char"
../../../../include/linux/prefetch.h:65: error: parse error before ')' token
make[4]: *** [ssp.o] Error 1
make[4]: Leaving directory
`/tmp/portage/uclibc-0.9.26-r7/work/uClibc-0.9.26/libc/sysdeps/linux/common'
make[3]: *** [common] Error 2
make[3]: Leaving directory
`/tmp/portage/uclibc-0.9.26-r7/work/uClibc-0.9.26/libc/sysdeps/linux'
make[2]: *** [_dir_linux] Error 2
make[2]: Leaving directory
`/tmp/portage/uclibc-0.9.26-r7/work/uClibc-0.9.26/libc/sysdeps'
make[1]: *** [_dir_sysdeps] Error 2
make[1]: Leaving directory
`/tmp/portage/uclibc-0.9.26-r7/work/uClibc-0.9.26/libc'
make: *** [_dir_libc] Fehler 2
!!! ERROR: dev-libs/uclibc-0.9.26-r7 failed.
!!! Function src_compile, Line 207, Exitcode 2
!!! could not make
-I/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include any reason you're using 3.4.0 ? ive never had a prob with 0.9.26-r7 and 3.3.4 or 3.4.1/3.4.2 ... update your portage profile to default-x86-2004.2 then try to build uclibc I have tested and it builds fine with gcc 3.4.2 you have to have uclibc built before you can switch to the uclibc profile just so you know. You can never switch to a uClibc profile from a glibc one. Things will get mis compiled. You either start from a uclibc based profile or you don't. Anyway this should of been solved in -r8 |