This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: errors while building glibc-2.7
- From: "Vinu Rajashekhar" <vinutheraj at gmail dot com>
- To: "Oussama Chammam" <ou_cha at hotmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Wed, 30 Jul 2008 19:26:38 +0530
- Subject: Re: errors while building glibc-2.7
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=WGvwxvPJyGuRt4Pamij3WB9pumdIu3wx1KLZfumldQA=; b=Exyts1v0wh59gUktIcV4bkfRF/f26189fA8kEbHNVFVFl6XmTR1NnJlCfnENJXqLrJ 34GMnQvRCp+lxtWMNkpiI79NpDe90UcV+e4qqnwT4hjrR4WtxzqrbaJDdEVKooUd3CN6 lnY1Vg8f9MzvyL6cbcdglbmQWufWeGkbolZhE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=yFjgBGLdHgxxBUSuTrppRYYxACG/YTqyHhFSjF3l8yINb0X9LC+KrkPuXvyAHrs960 hLt1srP+zobcvXqafCxKpQgBCjo16CH/iKdxmZ7NHbVICjQZxlnrNVv19JdIXctSqyxR H8lePlmXrjmqBrBxrEU38qy20E1/I9S+q5fJo=
Hey Oussama,
I think the errors will go away if you configure glibc
and then do this at the shell -
/build $ echo "CFLAGS += -fno-stack-protector" > configparms
Basically you have to write CFLAGS += -fno-stack-protector into a file called
configparms in your glibc build directory.
I had the same problem when I tried to build glibc-2.7 in ubuntu x86_64.
If you search more exhaustively, you could have seen that this was reported
as a bug in one of the glibc or gcc bug sites.
And the configure options which worked for me are
../glibc-2.7/configure --prefix=blah/blah --enable-add-ons
--without-selinux --without-gd
--disable-profile --enable-kernel=2.6.0 --march=opteron
The last march option is for x86_64 optimizations.
I think this should work !
--
Vinu Rajashekhar,
3rd Year Dual Degree Student,
Deptt of Computer Science & Engg,
IIT Kharagpur,
India.