Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132881 - glibc 2.3.6-r4 does not compile on alpha
Summary: glibc 2.3.6-r4 does not compile on alpha
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 04:29 UTC by Andrej Filipcic
Modified: 2006-05-10 07:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Filipcic 2006-05-10 04:29:20 UTC
I have SMP EV67, gcc-3.4.6-r1, kernel 2.6.15-gentoo-r1, 
CFLAGS="-mcpu=ev67 -O2 -pipe -fPIC" and nptl flag.


Compiling linuxthreads part of glibc stops at:
if test -r /var/tmp/portage/glibc-2.3.6-r4/image//usr/include/gnu/stubs.h && cmp
 -s /var/tmp/portage/glibc-2.3.6-r4/work/build-default-alpha-unknown-linux-gnu-l
inuxthreads/stubs.h /var/tmp/portage/glibc-2.3.6-r4/image//usr/include/gnu/stubs
.h; \
        then echo 'stubs.h unchanged'; \
        else /bin/install -c -m 644 /var/tmp/portage/glibc-2.3.6-r4/work/build-d
efault-alpha-unknown-linux-gnu-linuxthreads/stubs.h /var/tmp/portage/glibc-2.3.6
-r4/image//usr/include/gnu/stubs.h; fi
rm -f /var/tmp/portage/glibc-2.3.6-r4/work/build-default-alpha-unknown-linux-gnu
-linuxthreads/stubs.h
/var/tmp/portage/glibc-2.3.6-r4/work/build-default-alpha-unknown-linux-gnu-linux
threads/elf/sln /var/tmp/portage/glibc-2.3.6-r4/work/build-default-alpha-unknown
-linux-gnu-linuxthreads/elf/symlink.list
Invalid link from "ld-" to "3": No such file or directory
Invalid link from "li" to "c-": No such file or directory
Invalid link from "li" to "okenLocale-": No such file or directory
Invalid link from "li" to "m-": No such file or directory
Invalid link from "li" to "dl-": No such file or directory
Invalid link from "li" to "c": No such file or directory
Invalid link from "li" to "t": No such file or directory
Invalid link from "li" to "cidn-": No such file or directory
Invalid link from "li" to "esolv-": No such file or directory
Invalid link from "li" to "nss_dns-": No such file or directory
...


nptl part is compiled first and seems to be (pre)installed OK. Do you think it is worth to try with nptlonly flag? Basic services seem to work more or less with nptl...

Did somebody tried to install glibc-2.4*?
Comment 1 Andrej Filipcic 2006-05-10 06:35:35 UTC
I have tested and finally installed glibc-2.4-r2 on the system from previous post.

It seems to work quite OK. Services like openafs server, mysql, apache openldap-2.3, heimdal kdc work without any problems.

With glibc-2.3.6-r3 I had a serious problem with slapd/GSSAPI. Any ldapsearch with  gssapi enable, crashed slapd (bug in gethostbyaddr). Even nscd does not crash on first query anymore.

So, could you add ~alpha keyword to glibc-2.4-r2 ebuild?
Comment 2 Thomas Cort (RETIRED) gentoo-dev 2006-05-10 07:40:38 UTC
> CFLAGS="-mcpu=ev67 -O2 -pipe -fPIC"
You should never put -fPIC in your CFLAGS. See
http://www.gentoo.org/proj/en/hardened/pic-internals.xml for details.

> nptl flag
We've found that glibc doesn't work correctly when built with USE="nptl -nptlonly". You'll need USE="-nptl -nptlonly" or USE="nptl nptlonly". See Bug #119154 for more details.

> I have SMP EV67, gcc-3.4.6-r1, kernel 2.6.15-gentoo-r1, 
> CFLAGS="-mcpu=ev67 -O2 -pipe -fPIC" and nptl flag.
There is a way to get emerge to display all of your settings (USE flags, CFLAGS, etc) and versions of important packages (glibc, gcc, etc). Just run `emerge --info` and you'll have a nice system summary to post to bugs. It will save you a lot of time typing things in yourself and makes it easier for others to help you.