From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6413 invoked from network); 8 Mar 2023 12:47:43 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 8 Mar 2023 12:47:43 -0000 Received: (qmail 7235 invoked by uid 550); 8 Mar 2023 12:47:41 -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 7198 invoked from network); 8 Mar 2023 12:47:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=performancejones.com; s=20200504-mewmn7j8; t=1678279648; bh=OArPd4EN0wds0u9PmaiU0kUsKqS1iwk4/9rvVEAR6v4=; h=Date:From:To:Subject:From; b=U9NHHWCE8ijBQY1SAKeNAFvUdozAOSBO3lqZveucGJxGICxwEJswL+bUbHcZhsnXD U3VjWzvwk+6H4j0mP5bCuGVHm8XeSFUCJv+hFCLVAcoQClkXuZTq4T+KkTyaFAFrBI bfv1ahpnDjEszeYrk9JLZ4eWJE76lBbsiiyHugPs= X-Auth-ID: max@performancejones.com Date: Wed, 8 Mar 2023 12:47:26 +0000 From: "Max R. Dechantsreiter" To: musl@lists.openwall.com Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Classification-ID: 4c4c94ff-d88d-48e0-b4de-03722963131b-1-1 Subject: Re: [musl] unknown type name '__gnuc_va_list' On Wed, Mar 08, 2023 at 12:43:23PM +0000, Ralo Kossovo wrote: > On 3/8/23, Max R. Dechantsreiter wrote: > > > so how is it that prefix=/usr/local/musl? > > > > Likewise exec_prefix should not be in system space. > > To my knowledge, these defaults get overwritten by 'config.mak' when > it gets included on 'Makefile:78'. That is so that the 'Makefile' > routines get preserved across iterations and work only with changing > variable values, I believe. Essentially, it makes everything more > straight-forward and deterministic - a reason why I was able to refer > you to a specific line of the Makefile. > Feel free to correct me on this if I'm wrong. > > Could you, please, share with us the contents of > '$(prefix)/bin/musl-gcc' and '$(prefix)/lib/musl-gcc.specs'? [/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/bin] 28> cat musl-gcc #!/bin/sh exec "${REALGCC:-gcc}" "$@" -specs "/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/lib/musl-gcc.specs" [/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/bin] 29> [/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/lib] 31> cat musl-gcc.specs %rename cpp_options old_cpp_options *cpp_options: -nostdinc -isystem /home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/include -isystem include%s %(old_cpp_options) *cc1: %(cc1_cpu) -nostdinc -isystem /home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/include -isystem include%s *link_libgcc: -L/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/lib -L .%s *libgcc: libgcc.a%s %:if-exists(libgcc_eh.a%s) *startfile: %{!shared: /home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/lib/Scrt1.o} /home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/lib/crti.o crtbeginS.o%s *endfile: crtendS.o%s /home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/lib/crtn.o *link: -dynamic-linker /lib/ld-musl-x86_64.so.1 -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic} *esp_link: *esp_options: *esp_cpp_options: [/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/lib] 32>