"Error: bad register name %rbp" when building toolchain
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Wed Oct 15 21:04:00 GMT 2008
Filosofo,
All,
On Wednesday 15 October 2008 22:37:40 filosofo wrote:
> I am trying to build a cross-compiler on linux for an x86 custom board using
> crosstool-ng-1.2.2.
1.2.4 is out. If you can't make it owrk with 1.2.4 either, please try the
SVN trunk.
> My build and host system is an AMD opteron linux 2.6.9 x86_64. I am trying
> to build the crosscompiler for an Intel x86/386/686 multi-core cpu.
> I've added a file with my crosstool configuration (crosstool.ma.config).
Did you use 'added' for 'attached'? If so, the attachement is missing...
> [ALL ] {standard input}:1017: Error: bad register name `%rbp'
> [ALL ] {standard input}:1019: Error: bad register name `%rsp'
Ah... Google turned up interesting things with "bad register name rbp"
as query, of which:
http://www.nabble.com/Re:-problems-compiling-gcc-frontend:-Error:-bad-register-name-`-rbp'-p17525198.html
Seems like a 64<->32 problem with the assembler...
But without your .config, I can't investigate further...
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ |
| --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list