From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id 154C627E8C for ; Tue, 6 Aug 2024 19:21:56 +0200 (CEST) Received: (qmail 16131 invoked by uid 550); 6 Aug 2024 17:21:52 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 30328 invoked from network); 6 Aug 2024 16:01:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722960070; x=1723564870; darn=lists.openwall.com; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SYXaNcvJON8f/OANYj0xQlJP5KqTlaXcfsO5Df1euFw=; b=Q6b0vpAR/t8XZGx+leZYI8kVtaCOjSn7MdJoWgfbbInbsFOkoj3BoDiquUCoyTJDLe m6fHYu+KPvUkaezZ92gEviUi/52gYp9dUHtawTQlI29SZ89A+kNhp2mUHaYJyI70Gw9l sc0vNeeJi+0CS3te2qVFdd3ACo7yEnQzTDcP6DWYv6Ps/51x52u4fj3p5xCQKpTX2mLD 2h4FzWnO8M3njwz5ZJ5QQxUIAviJqXIyfsVh5x+eXuwRtZgdYRCAdaQ4Jq+W3dEkVy0Q Vx0ol+fP6l5raJ/DundA2vGaYqCDv65+pzJd6BQWlW1DWlrGbJ4MlUjgMQ4gTQn8Sgea aqLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722960070; x=1723564870; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SYXaNcvJON8f/OANYj0xQlJP5KqTlaXcfsO5Df1euFw=; b=k9EYHj6rpZ51nH/CNnqFSe/lgSk50fSgaRdXe2Hl/EXPERzDPv2uXU0r588MdNyUyh MsZAQGBlWztimlom/EJ0sziGWYRmrWLMDIZjgrTM3NHNVjsLp+cXvVgHWCobIf5kO94f 7QjAbtOK8zVzHzZ1aTf8gUWKBUD3UruRMrUe+aDy1odfxNR/u0OYme1LsAAsakS1OTGF LkL2s5vmfr48t5GFG8TC66xXOj65fia7tPxVKgYK75Y3B/5s3k9p9KNFfY7oQRyrVJOt arXjTkxzghY1h79jx1aMK1hNwNqEjX1CdrxaLtNBwAGNc/LRLWSt+x2yR+cctUBFH72T AFKg== X-Gm-Message-State: AOJu0Yxcj3a57AGcpuFMIT9HQuyOrtX1UOGT7UdYjHCLdYIXjn9SIJtC /dGLEmIVOJHCAJedfRbzl2gvK8cUe68VQR4MY/OTnyedECtFo1CqDio83WUpBLDSHNhXWH89Ln3 Msg03iO9TsV8sfHpG6sYbXv6phystAu1IRXn8Zw== X-Google-Smtp-Source: AGHT+IHcZ0tzauT3aeVc67iH3LNQgq5xJCPTHfvURHpYdO6N3QNML6BCI4dF8GDe6SLjII6/z+oNJnnkZW72cK7FyaM= X-Received: by 2002:a17:907:da6:b0:a7a:83f8:cfd5 with SMTP id a640c23a62f3a-a7dc4e57b2cmr1030183266b.18.1722960070096; Tue, 06 Aug 2024 09:01:10 -0700 (PDT) MIME-Version: 1.0 From: Ritvik Tanksalkar Date: Tue, 6 Aug 2024 12:00:36 -0400 Message-ID: To: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="000000000000f0bc34061f05e6ab" Subject: [musl] Build failure on 64 bit machine for 32 bit target --000000000000f0bc34061f05e6ab Content-Type: text/plain; charset="UTF-8" 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 --000000000000f0bc34061f05e6ab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I= am not subscribed so I would like to get CC'd for the=C2=A0reply. I= 9;ve been trying to get musl build for 32 bit targets on a 64 bit linux mac= hine. For this, I'm doing=C2=A0the following on musl-1.2.5 -=C2=A0

CC=3Dgcc CFLAGS=3D"-m32" LDFLAGS=3D"-m3= 2" ./configure --host=3Di686-linux-gnu

an= d then running "make"=C2=A0results in multiple definition errors = while linking. The following output has been redacted for the sake of brevi= ty.

/usr/bin/ld: obj/compat/time32/__xstat.lo= : in function `__fxstat':
__xstat.c:(.text.__fxstat+0x0): mul= tiple definition of `__fxstat'; obj/src/stat/__xstat.lo:__xstat.c:(.tex= t.__fxstat+0x0): first defined here
/usr/bin/ld: obj/compat/time3= 2/__xstat.lo: in function `__fxstatat':
__xstat.c:(.text.__fx= statat+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':
__x= stat.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

<= /div>
--000000000000f0bc34061f05e6ab--