GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
glibc above 2.27 fails to configure.
i'm getting this same error in 2 different gentoo distributions on my system. one is 32 bit and the other is 64.
this is the relevant section from config.log
configure:6161: checking for redirection of built-in functions
configure:6174: i686-pc-linux-gnu-gcc -Wall -fno-builtin -D_LARGEFILE_SOURCE -D_LARGEFILE_SOURCE64 -DLARGEOFFSET_BITS=64 -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -fuse-ld=bfd -O3 -S conftest.c -o - | grep -F my_strstr > /dev/null
configure:6177: $? = 1
configure:6186: result: no
configure:6189: error: support for the symbol redirection needed
the best i can tell is it doesn't like something about my gcc.
edit. i am able to configure and build the glibc using the configure script from the build log. i was going to try to find which option caused the problem, but they all seem to be fine. i'm thinking it must be some variable set by gentoo just before the configure, but i don't know how to check a list of those. understanding the ebuild is way beyond me.
Last edited by whansard; 02-03-2019 at 03:18 AM.
Reason: new stuff.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Original Poster
Rep:
i've finally figured this out. i have for years had the cflag -fno-builtin in my profile. i removed all the cflags and cxxflags, and glibc built. it took me another 45 minutes to figure out which one it was. the thing is, i can build glibc at the command line with configure, and the -fno-builtin flag doesn't cause any trouble. with all the cflags and cxxflags removed from make.conf, glibc still would give the same configure error. anyway, something changed and now -fno-builtin keeps glibc from configuring with with the error message
Code:
configure:6161: checking for redirection of built-in functions
configure:6174: i686-pc-linux-gnu-gcc -Wall -fno-builtin -D_LARGEFILE_SOURCE -D_LARGEFILE_SOURCE64 -DLARGEOFFSET_BITS=64 -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -fuse-ld=bfd -O3 -S conftest.c -o - | grep -F my_strstr > /dev/null
configure:6177: $? = 1
configure:6186: result: no
configure:6189: error: support for the symbol redirection needed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.