From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10006 Path: news.gmane.org!not-for-mail From: Patrick Oppenlander Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl-cross-make / litecross improvements Date: Fri, 6 May 2016 08:43:58 +1000 Message-ID: <572BCCAE.8000202@gmail.com> References: <20160503044835.GA5517@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------070908050007010200010008" X-Trace: ger.gmane.org 1462488268 13291 80.91.229.3 (5 May 2016 22:44:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 May 2016 22:44:28 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10019-gllmg-musl=m.gmane.org@lists.openwall.com Fri May 06 00:44:23 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ayS0I-0006Yj-G0 for gllmg-musl@m.gmane.org; Fri, 06 May 2016 00:44:18 +0200 Original-Received: (qmail 7936 invoked by uid 550); 5 May 2016 22:44:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7907 invoked from network); 5 May 2016 22:44:13 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 In-Reply-To: <20160503044835.GA5517@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:10006 Archived-At: This is a multi-part message in MIME format. --------------070908050007010200010008 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 03/05/16 14:48, Rich Felker wrote: > Let me know if any major bugs/inconveniences remain that I should > prioritize fixing. Hi Rich, used this for the first time today (commit 4afd97a). Ran into a build failure using this config.mak: TARGET = arm-linux-musleabi OUTPUT = /opt/cross GCC_CONFIG += --with-cpu=cortex-a8 I can send a full build log to your personal mail (~600KiB) if it helps. libtool: compile: /home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/./gcc/xgcc -B/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/./gcc/ -B/arm-linux-musleabi/bin/ -B/arm-linux-musleabi/lib/ -isystem /arm-linux-musleabi/include -isystem /arm-linux-musleabi/sys-include -L/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/./ld --sysroot=/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_sysroot -DHAVE_CONFIG_H -I. -I../../../src_toolchain/boehm-gc -I./include -I/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/src_toolchain/boehm-gc/include -fexceptions -Iinclude -I././targ-include -I.//libc/include -g -O2 -MT os_dep.lo -MD -MP -MF .deps/os_dep.Tpo -c ../../../src_toolchain/boehm-gc/os_dep.c -fPIC -DPIC -o .libs/os_dep.o ../../../src_toolchain/boehm-gc/os_dep.c:20:30: fatal error: linux/version.h: No such file or directory compilation terminated. Makefile:444: recipe for target 'os_dep.lo' failed make[5]: *** [os_dep.lo] Error 1 make[5]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/arm-linux-musleabi/boehm-gc' Makefile:490: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/arm-linux-musleabi/boehm-gc' Makefile:18152: recipe for target 'all-target-boehm-gc' failed make[3]: *** [all-target-boehm-gc] Error 2 make[3]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain' Makefile:878: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain' Makefile:132: recipe for target 'obj_toolchain/.lc_built' failed make[1]: *** [obj_toolchain/.lc_built] Error 2 make[1]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi' Makefile:133: recipe for target 'all' failed make: *** [all] Error 2 make 1325.21s user 101.15s system 91% cpu 26:03.63 total Are you planning on supporting GCC 5.3? I may be able to contribute some patches. Patrick --------------070908050007010200010008 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit
On 03/05/16 14:48, Rich Felker wrote:
Let me know if any major bugs/inconveniences remain that I should
prioritize fixing.

Hi Rich,

used this for the first time today (commit 4afd97a). Ran into a build failure using this config.mak:

TARGET = arm-linux-musleabi
OUTPUT = /opt/cross
GCC_CONFIG += --with-cpu=cortex-a8

I can send a full build log to your personal mail (~600KiB) if it helps.

libtool: compile: /home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/./gcc/xgcc -B/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/./gcc/ -B/arm-linux-musleabi/bin/ -B/arm-linux-musleabi/lib/ -isystem /arm-linux-musleabi/include -isystem /arm-linux-musleabi/sys-include -L/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/./ld --sysroot=/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_sysroot -DHAVE_CONFIG_H -I. -I../../../src_toolchain/boehm-gc -I./include -I/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/src_toolchain/boehm-gc/include -fexceptions -Iinclude -I././targ-include -I.//libc/include -g -O2 -MT os_dep.lo -MD -MP -MF .deps/os_dep.Tpo -c ../../../src_toolchain/boehm-gc/os_dep.c  -fPIC -DPIC -o .libs/os_dep.o
../../../src_toolchain/boehm-gc/os_dep.c:20:30: fatal error: linux/version.h: No such file or directory
compilation terminated.
Makefile:444: recipe for target 'os_dep.lo' failed
make[5]: *** [os_dep.lo] Error 1
make[5]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/arm-linux-musleabi/boehm-gc'
Makefile:490: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain/arm-linux-musleabi/boehm-gc'
Makefile:18152: recipe for target 'all-target-boehm-gc' failed
make[3]: *** [all-target-boehm-gc] Error 2
make[3]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain'
Makefile:878: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi/obj_toolchain'
Makefile:132: recipe for target 'obj_toolchain/.lc_built' failed
make[1]: *** [obj_toolchain/.lc_built] Error 2
make[1]: Leaving directory '/home/patrick/src/patrick/musl-cross-make/build-arm-linux-musleabi'
Makefile:133: recipe for target 'all' failed
make: *** [all] Error 2
make  1325.21s user 101.15s system 91% cpu 26:03.63 total


Are you planning on supporting GCC 5.3? I may be able to contribute some patches.

        Patrick --------------070908050007010200010008--