| Summary: | sys-libs/glibc-2.15 / MIPS: build failure plus fix | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Manuel Lauss <manuel.lauss> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | minor | CC: | mips |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | MIPS | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | compressed full build log | ||
|
Description
Manuel Lauss
2012-04-28 12:58:50 UTC
no actual details as to what is failing. this change isn't in upstream glibc, so i'm not inclined to pick it up until we have real details. Right, sorry about that:
Install phase, near the end. (Bugzilla won't let me upload the compressed
build log).
make[2]: Entering directory `/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/glibc-2.15-r1/work/glibc-2.15/misc'
{ \
echo '/* Generated at libc build time from kernel syscall list. */';\
echo ''; \
echo '#ifndef _SYSCALL_H'; \
echo '# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."'; \
echo '#endif'; \
echo ''; \
echo '#include <sgidefs.h>'; \
echo ''; \
mipsel-softfloat-linux-gnu-gcc -mabi=32 -E -MD -MP -MF /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/glibc-2.15-r1/work/build-default-mipsel-softfloat-linux-gnu-nptl/misc/s
} > /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/glibc-2.15-r1/work/build-default-mipsel-softfloat-linux-gnu-nptl/misc/syscall-list.h.new
cc1: error: '-march=mips32' is not compatible with the selected ABI
cc1: error: '-march=mips32' is not compatible with the selected ABI
mv -f /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/glibc-2.15-r1/work/build-default-mipsel-softfloat-linux-gnu-nptl/misc/syscall-list.h.new /tmp-ram/portage/cross-mipsel-soft
sed -e 's@ /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/glibc-2\.15-r1/work/build-default-mipsel-softfloat-linux-gnu-nptl/@ $(common-objpfx)@g' -e 's@^/tmp-ram/portage/cross-
/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/glibc-2.15-r1/work/build-default-mipsel-softfloat-linux-gnu-nptl/misc/syscall-list.d-to32 /tmp-ram/portage/cross-mipsel-softfloa
sed: can't read /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/glibc-2.15-r1/work/build-default-mipsel-softfloat-linux-gnu-nptl/misc/syscall-list.d-tn32: No such file or directory
sed: can't read /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/glibc-2.15-r1/work/build-default-mipsel-softfloat-linux-gnu-nptl/misc/syscall-list.d-tn64: No such file or directory
With the patch it also installs and runs natively:
db1200 ~ # /lib/libc.so.6
GNU C Library stable release version 2.15, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.3.
Compiled on a Linux 3.3.0 system on 2012-04-28.
Available extensions:
C stubs add-on version 2.1.2
crypt add-on version 2.1 by Michael Glad and others
Gentoo patchset 10
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B
libc ABIs: MIPS_PLT UNIQUE
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Created attachment 310617 [details]
compressed full build log
here's the full build log.
why doesn't your gcc support -march=mips32 ? my gcc supports it just fine. it does support mips32. But the whole thing is moot now; I've upgraded to 2.16 when it hit portage. |