This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/20721] Cross-compiling glibc with CFLAGS option -march fails
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 21 Oct 2016 18:42:01 +0000
- Subject: [Bug build/20721] Cross-compiling glibc with CFLAGS option -march fails
- Auto-submitted: auto-generated
- References: <bug-20721-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20721
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #6 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Nam-goo Lee from comment #3)
> Thanks for the replies.
>
> Putting -march in CC instead of CFLAGS, as Joseph commented, did the job for
> me.
>
> The following command lines resulted in a successful build:
>
> 1) export CC="arm-linux-gnueabi-gcc -march=armv7-a"
> 2) CC=$CC ../glibc/configure --prefix=[some_directory_path]
> --host=arm-linux-gnueabi
> 3) make
>
> I've also attached config.log which Carlos asked for, just in case it might
> be of some use. (the config.log that failed to build glibc)
> I've also attached config.log for the successful build.
I'm glad to hear it worked and that it was something as simple as this.
The config.log's look fine, and they are here for posterity if anyone else
thinks they have the same issue, but it turns out to be something else.
--
You are receiving this mail because:
You are on the CC list for the bug.