This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FW: errors while building glibc-2.7 --> solved





Hello Vinu!
I don't know how to thank you! You solved my problem, and ended a more than a week long building of glibc source... :)

The configuration didn't like the --march=  option, it said:

configure: error: unrecognized option: --march=opteron
Try `../glibc-2.7/configure --help' for more information.

so I skipped it and it worked fine.

thank you, from Sweden to India!

> Date: Wed, 30 Jul 2008 19:26:38 +0530
> From: vinutheraj@gmail.com
> To: ou_cha@hotmail.com
> Subject: Re: errors while building glibc-2.7
> CC: libc-help@sourceware.org
>
> 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.

________________________________
Senaste resenyheterna & prisvärda flyg till hela världen! MSN Resor

_________________________________________________________________
Utmana dina kompisar i Sten, sax, påse!
http://www.live.msn.se/messenger/#/News/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]