|
Message-ID: <CAJxTgFwf05px_q2tt4gc6dW31TAw0SPw3pzSpYk4pGnpMbZnFg@mail.gmail.com>
Date: Tue, 6 Aug 2024 12:00:36 -0400
From: Ritvik Tanksalkar <ritviktanksalkar@...il.com>
To: musl@...ts.openwall.com
Subject: Build failure on 64 bit machine for 32 bit target
Hi,
I am not subscribed so I would like to get CC'd for the reply. I've been
trying to get musl build for 32 bit targets on a 64 bit linux machine. For
this, I'm doing the following on musl-1.2.5 -
CC=gcc CFLAGS="-m32" LDFLAGS="-m32" ./configure --host=i686-linux-gnu
and then running "make" results in multiple definition errors while
linking. The following output has been redacted for the sake of brevity.
/usr/bin/ld: obj/compat/time32/__xstat.lo: in function `__fxstat':
__xstat.c:(.text.__fxstat+0x0): multiple definition of `__fxstat';
obj/src/stat/__xstat.lo:__xstat.c:(.text.__fxstat+0x0): first defined here
/usr/bin/ld: obj/compat/time32/__xstat.lo: in function `__fxstatat':
__xstat.c:(.text.__fxstatat+0x0): multiple definition of `__fxstatat';
obj/src/stat/__xstat.lo:__xstat.c:(.text.__fxstatat+0x0): first defined here
/usr/bin/ld: obj/compat/time32/__xstat.lo: in function `__lxstat':
__xstat.c:(.text.__lxstat+0x0): multiple definition of `__lxstat';
obj/src/stat/__xstat.lo:__xstat.c:(.text.__lxstat+0x0): first defined here
/usr/bin/ld: obj/compat/time32/__xstat.lo: in function `__xstat':
__xstat.c:(.text.__xstat+0x0): multiple definition of `__xstat';
obj/src/stat/__xstat.lo:__xstat.c:(.text.__xstat+0x0): first defined here
I'm certain that I'm missing out on something trivial here. Any insights
into this would be appreciated.
Warm Regards,
Ritvik
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.