GNU bug report logs - #49850
Crosscompiling gzip for musl-based system with clang

Previous Next

Package: gzip;

Reported by: Caleb Heydon <caleb.heydon <at> uconn.edu>

Date: Tue, 3 Aug 2021 21:30:02 UTC

Severity: normal

Tags: moreinfo

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49850: closed (Crosscompiling gzip for musl-based system with
 clang)
Date: Mon, 26 Dec 2022 05:48:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 25 Dec 2022 21:46:58 -0800
with message-id <d11db9d7-e3de-28e0-e586-b9da0bc8be7e <at> cs.ucla.edu>
and subject line Re: bug#49850: Crosscompiling gzip for musl-based system with clang
has caused the debbugs.gnu.org bug report #49850,
regarding Crosscompiling gzip for musl-based system with clang
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49850: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49850
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Caleb Heydon <caleb.heydon <at> uconn.edu>
To: bug-gzip <at> gnu.org
Subject: Crosscompiling gzip for musl-based system with clang
Date: Tue, 3 Aug 2021 12:43:44 -0400
[Message part 3 (text/plain, inline)]
Hello,

I have been attempting to crosscompile gzip for a linux system that uses
the musl libc using clang, and I have come across an issue while
attempting to configure gzip.

I set CC="cross-clang", and run ./configure --prefix=/usr --host=x86_64.
cross-clang is just a wrapper script that sets the sysroot for
crosscompiling.  The configuration fails, and I get the following error:

checking how cross-clang reports undeclared, standard C functions...
configure: error: in `/home/user/Desktop/cross-compiling/build/gzip/gzip':
configure: error: cannot detect from compiler exit status or warnings

I have used a similar setup to successfully crosscompile many other pieces
of software, so I am not entirely sure why gzip is not configuring.  Any
suggestions for getting around the issue or suggested software changes
would be greatly appreciated.

Thanks,

Caleb Heydon
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Caleb Heydon <caleb.heydon <at> uconn.edu>
Cc: 49850-done <at> debbugs.gnu.org
Subject: Re: bug#49850: Crosscompiling gzip for musl-based system with clang
Date: Sun, 25 Dec 2022 21:46:58 -0800
No further comment on this old bug report, so I'm taking the liberty of 
closing it.


This bug report was last modified 2 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.