This is the mail archive of the glibc-bugs@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]

[Bug build/20721] Cross-compiling glibc with CFLAGS option -march fails


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.

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