mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* How to build barebox for NIOS2
@ 2015-02-04 16:25 Masahiro YAMADA
  2015-02-04 20:13 ` Franck Jullien
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro YAMADA @ 2015-02-04 16:25 UTC (permalink / raw)
  To: barebox

Hi,


I can't build barebox for NIOS2.


I am using Soucery tool chain which is available at:
http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/


I can build Linux and U-Boot with it,
but I can't for barebox.




$ make ARCH=nios2 generic_defconfig && make ARCH=nios2
CROSS_COMPILE=nios2-linux-gnu-

 [ snip ]

  LD      barebox
common/built-in.o: In function `mem_malloc_start':
(.text+0x0): warning: Unable to reach (null) (at 0xc1fb1188) from the
global pointer (at 0x00000000) because the offset (-1040510584) is out
of the allowed range, -32678 to 32767.



I tried another tool-chain, but I got the same link error.

How can we solve this?



-- 
Best Regards
Masahiro Yamada

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-04 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 16:25 How to build barebox for NIOS2 Masahiro YAMADA
2015-02-04 20:13 ` Franck Jullien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox