| Summary: | net-print/cups-1.3.8-r1 - testarray.o:(.toc+0x8): undefined reference to `__stack_chk_guard' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Greg Trigg <trigggl> |
| Component: | Current packages | Assignee: | Petteri Räty (RETIRED) <betelgeuse> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | ppc64 |
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | PPC64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Greg Trigg
2008-09-01 18:17:35 UTC
I don't see what might be wrong with your CFLAGS, but it wouldn't hurt to have the experts check first. :) I cannot reproduce using the same CFLAGS on a gcc 4.3.1-r1 compiler. Please try using stable gcc or -if you really want to live in ~ppc64- gcc-4.3.{1,2}.
Another point of failure might distcc be. If stable gcc does not work then please try disabling distcc.
regards,
corsair
I turned off distcc and the build seems to be working. I noticed that gcc is being used as "gcc", so maybe my wrapper script isn't working for distcc. Maybe the 686 box is compiling with the native gcc on this one. I didn't use a screen either, but I don't think that would matter. I left gcc as 4.2.4 because that's what version I have for the cross-compiler on the 686 box. ok. so this seems to be a distcc bug. could you please post your config/wrapperscript? reassiging to betelgeuse, because it seems to be a distcc problem. This is the contents of /usr/lib/distcc/bin
drwxr-xr-x 2 root root 4096 2008-08-20 16:37 .
drwxr-xr-x 3 root root 4096 2007-10-08 05:57 ..
lrwxrwxrwx 1 root root 35 2008-08-20 16:37 c++ -> powerpc64-unknown-linux-gnu-wrapper
lrwxrwxrwx 1 root root 35 2008-08-20 16:37 cc -> powerpc64-unknown-linux-gnu-wrapper
lrwxrwxrwx 1 root root 35 2008-08-20 16:37 g++ -> powerpc64-unknown-linux-gnu-wrapper
lrwxrwxrwx 1 root root 35 2008-08-20 16:37 gcc -> powerpc64-unknown-linux-gnu-wrapper
-rw-r--r-- 1 distcc daemon 0 2008-07-16 15:19 .keep_sys-devel_distcc-0
lrwxrwxrwx 1 root root 15 2007-10-08 05:57 powerpc64-unknown-linux-gnu-c++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 2008-08-20 16:31 powerpc64-unknown-linux-gnu-cc -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 2007-10-08 05:57 powerpc64-unknown-linux-gnu-g++ -> /usr/bin/distcc
lrwxrwxrwx 1 root root 15 2007-10-08 05:57 powerpc64-unknown-linux-gnu-gcc -> /usr/bin/distcc
-rwxr-xr-x 1 root root 82 2008-08-20 16:34 powerpc64-unknown-linux-gnu-wrapper
The contents of powerpc64-unknown-linux-gnu-wrapper:
#!/bin/bash
exec /usr/lib/distcc/bin/powerpc64-unknown-linux-gnu-g${0:$[-2]} "$@"
Ran into this again trying to emerge sys-libs/glibc-2.7-r2. I guess I'll try again without distcc. I must be missing something in my cross compiler. I'll mark this as invalid since it has nothing to do with an ebuild or cups. |