OS specific toolchain error

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
mariuszp
Member
Member
Posts: 587
Joined: Sat Oct 16, 2010 3:38 pm

OS specific toolchain error

Post by mariuszp »

I was following the OS specific toolchain tutorial on the wiki, and I added the 'i586-pc-maddos' target for binutils and gcc. However, when I try to build binutils, configuration works properly (I use the command "../binutils-2.18.50/configure --target=$TARGET --prefix=$PREFIX"), but when I run make, I get the following error:

Code: Select all


cc1: warnings being treated as errors
../../binutils-2.18.50/binutils/dwarf.c: In function ‘print_dwarf_vma’:
../../binutils-2.18.50/binutils/dwarf.c:189: error: format not a string literal and no format arguments
make[4]: *** [dwarf.o] BÅ‚Ä…d 1
make[4]: Opuszczenie katalogu `/usr/src/build-binutils/binutils'
make[3]: *** [all-recursive] BÅ‚Ä…d 1
make[3]: Opuszczenie katalogu `/usr/src/build-binutils/binutils'
make[2]: *** [all] BÅ‚Ä…d 2
make[2]: Opuszczenie katalogu `/usr/src/build-binutils/binutils'
make[1]: *** [all-binutils] BÅ‚Ä…d 2
make[1]: Opuszczenie katalogu `/usr/src/build-binutils'
make: *** [all] BÅ‚Ä…d 2
I will attach the entire out of 'make'.

Does anyone know what could be wrong?
jnc100
Member
Member
Posts: 775
Joined: Mon Apr 09, 2007 12:10 pm
Location: London, UK
Contact:

Re: OS specific toolchain error

Post by jnc100 »

I believe this is a binutils 2.18.50 error. Why not use a more modern version?

Check http://lists.gnu.org/archive/html/bug-b ... 00034.html

Regards,
John.
Post Reply