openrisc build problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Franck !

Here is sample openrisc barebox build error log :

    /opt/gcc-or1k-elf-4.8.1-x86_64/bin/or1k-elf-ld  -Map barebox.map -o
    barebox -T arch/openrisc/cpu/barebox.lds --start-group
    common/built-in.o  drivers/built-in.o  commands/built-in.o
    lib/built-in.o  crypto/built-in.o  net/built-in.o  fs/built-in.o
    arch/openrisc/boards/generic/built-in.o  arch/openrisc/lib/built-in.o
    arch/openrisc/cpu/built-in.o  arch/openrisc/dts/built-in.o
    defaultenv/built-in.o --end-group
    /opt/gcc-or1k-elf-4.8.1-x86_64/bin/or1k-elf-ld: target elf32-or32 not found

    $ /opt/gcc-or1k-elf-4.8.1-x86_64/bin/or1k-elf-ld --version
    GNU ld (GNU Binutils) 2.23.51.20121129
    Copyright 2012 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms
    of the GNU General Public License version 3 or (at your option) a later
    version.
    This program has absolutely no warranty.


My current quick-and-dirty solution is :

--- a/arch/openrisc/cpu/barebox.lds.S
+++ b/arch/openrisc/cpu/barebox.lds.S
@@ -16,7 +16,7 @@
 #include <config.h>
 #include <asm-generic/barebox.lds.h>
 
-OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32")
+/* OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32") */
 __DYNAMIC  =  0;
 
 MEMORY


Franck !
Please comment this message !

-- 
Best regards,
  Antony Pavlov

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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux