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: Caleb Heydon <caleb.heydon <at> uconn.edu>
Subject: bug#49850: closed (Re: bug#49850: Crosscompiling gzip for
 musl-based system with clang)
Date: Mon, 26 Dec 2022 05:48:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#49850: Crosscompiling gzip for musl-based system with clang

which was filed against the gzip package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 49850 <at> debbugs.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: 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.

[Message part 3 (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 4 (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 5 (text/html, inline)]

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

Previous Next


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