[Buildroot] [PATCH 1/9] boot/syslinux: needs an ia32-capable compiler
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Apr 28 17:51:32 UTC 2014
Arnout, All,
On 2014-04-28 07:55 +0200, Arnout Vandecappelle spake thusly:
> On 25/04/14 00:29, Yann E. MORIN wrote:
> > From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> > Cc: Frank Hunleth <fhunleth at troodon-software.com>
>
> It would be good to mention in the commit log and/or the Config.in why
> this dependency is needed. I thought it was because it uses -m32, but
> now I see that it doesn't...
Yes, it does:
/usr/bin/gcc -idirafter /home/ymorin/dev/buildroot/O/host/usr/include
-L/home/ymorin/dev/buildroot/O/host/lib
-L/home/ymorin/dev/buildroot/O/host/usr/lib
-Wl,-rpath,/home/ymorin/dev/buildroot/O/host/usr/lib
-Wp,-MT,cpio.o,-MD,./.cpio.o.d
-std=gnu99
--> -m32 <----- Here. ;-)
-march=i386
-mpreferred-stack-boundary=2 -fno-stack-protector -fwrapv
-freg-struct-return -Os -fPIC
-fno-exceptions -fno-asynchronous-unwind-tables -fno-strict-aliasing
-falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign-loops=0
-mregparm=3 -DREGPARM=3
-W -Wall -Wstrict-prototypes -fomit-frame-pointer
-D__COM32__
-nostdinc
-iwithprefix include
-I/home/ymorin/dev/buildroot/O/build/syslinux-6.02/com32/libutil/include
-I/home/ymorin/dev/buildroot/O/build/syslinux-6.02/com32/include
-I/home/ymorin/dev/buildroot/O/build/syslinux-6.02/com32/include/sys
-I/home/ymorin/dev/buildroot/O/build/syslinux-6.02/com32/gplinclude
-c -o cpio.o
/home/ymorin/dev/buildroot/O/build/syslinux-6.02/com32/libupload/cpio.c
If not, then I get the usual 'bits/predefs.h' problem that is solved by
installing gcc-multilib.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list