This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10062] 'make' for glibc-2.9 fails even though 'configure' is OK
- From: "sergstesh at yahoo dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 11 Apr 2009 21:50:45 -0000
- Subject: [Bug libc/10062] 'make' for glibc-2.9 fails even though 'configure' is OK
- References: <20090411172526.10062.sergstesh@yahoo.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From sergstesh at yahoo dot com 2009-04-11 21:50 -------
I am reopening the bug because now I am 100% sure there is a bug in the build
mechanism.
After some web search I've found this:
http://www.justpasha.org/links/soft/glibc.html :
"
# echo "CFLAGS += -march=i586" > configparms (otherwise one gets undefined
reference to `__sync_bool_compare_and_swap_4` and similar errors)
".
So, I've added to configure arguments the following:
CFLAGS='-march=i586 -g -O2'
and now I can complete the build. This is what my OS is:
"
uname -a
Linux amdam2 2.6.22.19-0.2-default #1 SMP 2008-12-18 10:17:03 +0100 i686 athlon
i386 GNU/Linux
",
so why on earth should I add -march=i586 ?
I didn't have to do this for any other target of about 300 targets I've built.
I have also reread glibc-2.9/README file - it mentions neither 'march' nor
'586', so, if you are not going to fix the code, maybe you'll at least add this
tip to the INSTALL file ?
Thanks in advance.
I am about to attach screen output of successful build.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |
http://sourceware.org/bugzilla/show_bug.cgi?id=10062
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.