Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 09-28-2011, 04:21 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 16

Rep: Reputation: Disabled
Error while Porting Glibc-2.11.1 to arm cortex-a9 target

I tried to cross-compile glibc with toolchain "arm-2009q3"
I did following things
1.set the environment variables like CC,LD,AS... to that in toolchain

2.created a new directory called "config"

3.Entered into that directory and run "../commandconfigure --prefix=/usr/local/ARM/ libc_cv_386_tls=yes",It was successful.

4.But when I gave make it is giving following errors

===>cc1: error: unrecognized command line option "-mpreferred-stack-boundary=4"
make[2]: *** [/home/elxsi/gopish/glibc-2.11.1/config/tcb-offsets.h] Error 1
make[2]: Leaving directory `/home/elxsi/gopish/glibc-2.11.1/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/elxsi/gopish/glibc-2.11.1'
make: *** [all] Error 2

can anyone help me

Thanks in advance

Last edited by me011089; 09-28-2011 at 04:26 AM. Reason: correction


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation error Linux 2.6.32 for ARM target xplorer30 Linux - General 1 09-27-2010 09:59 PM
To develop project based on ARM Cortex-M3 processor kennyfly899 Linux - Newbie 3 11-02-2009 01:55 AM
problem with NXP LPC1758 ARM Cortex-M3 Board Linux_bird Linux - Newbie 1 10-09-2009 09:38 PM
Two ARM Cortex-M3 Boards for embeded development kennyfly899 Linux - Hardware 1 07-03-2009 07:41 AM
Have you ever used "Emlink for ARM" Emulator to debug your ARM Cortex-M3 processors? kennyfly899 Linux - Newbie 0 06-27-2009 01:45 AM

All times are GMT -5. The time now is 09:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration