tech-toolchain archive

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

Re: Enabling MKCOMPAT for *arm*



On Wed, May 20, 2015 at 03:08:55PM +0200, Joerg Sonnenberger wrote:
> On Wed, May 20, 2015 at 02:49:33PM +0200, Martin Husemann wrote:
> > /ssd/hosts/shark/usr/lib/oabi/libgcc.a(_divsi3.o): In function `__divsi3':
> > :(.text+0x0): multiple definition of `__aeabi_idiv'
> 
> This means that you are still using EABI.

So what is the correct switch?

It currently does:

ARM_MACHINE_ARCH=       arm
ARM_LD=                 -m armelf_nbsd
LDFLAGS+=               -Wl,-m,armelf_nbsd

and later:

.if empty(LD:M-m)
LD+=            ${ARM_LD}
.endif

Somewhere in there we should force oabi output ;-)

Martin


Home | Main Index | Thread Index | Old Index