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 28791 invoked from network); 8 Mar 2023 15:36:46 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 8 Mar 2023 15:36:46 -0000 Received: (qmail 20018 invoked by uid 550); 8 Mar 2023 15:36:43 -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 19984 invoked from network); 8 Mar 2023 15:36:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=performancejones.com; s=20200504-mewmn7j8; t=1678289791; bh=ZNnzSRt0dJ0fE3kBObkM9yITvIEweLcrIQnczDrc6WU=; h=Date:From:To:Subject:From; b=Dmk7TBGe3D8XkdNfTXHcl4cA/4/rJpycKwHx5DVensac6DxZD9sGbkYjRDu0pYTD0 MET5Pp5PSkmezlZoywDB2xnkFiBYB4fvZ9IzH7O4hH/QJYBGNgrjN19tpzUAxGQG9q TFKLVY1hgpMzlPmNkYGlkxxOg1Cx89mNqCXaPhNI= X-Auth-ID: max@performancejones.com Date: Wed, 8 Mar 2023 15:36:29 +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: 8d1cbd2f-d997-4afc-9fea-c3e2f3cedef5-1-1 Subject: Re: [musl] unknown type name '__gnuc_va_list' On Wed, Mar 08, 2023 at 02:52:07PM +0000, Ralo Kossovo wrote: > Are you compiling with the '-static' flag specified? Yes, I added that. I have also been able to compile and run a more complex test (recursive "Queens" backtrack problem). I need to consult with the author of my intended application to see what its problem with musl-gcc might be. Thank you very much for your suggestions! > > On 3/8/23, Max R. Dechantsreiter wrote: > > On Wed, Mar 08, 2023 at 01:51:35PM +0000, Ralo Kossovo wrote: > >> On 3/8/23, Max R. Dechantsreiter wrote: > >> > ...I got the "validation test" working by setting C_INCLUDE_PATH: > >> > >> There's got to be a cleaner way to fix this. > >> What output does '$ echo | $(prefix)/bin/musl-gcc -E -Wp,-v -' > >> generate? Does '$(prefix)/include' contain any files, in the first > >> place? > > > > [/home/maxd/GNU/Build/musl-1.2.3_gcc-12.1.0] 28> echo | > > $INSTALL/bin/musl-gcc -E -Wp,-v - > > ignoring duplicate directory > > "/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/include" > > ignoring duplicate directory > > "/home/maxd/GNU/opt/gnu/gcc-12.1.0/lib/gcc/x86_64-linux-gnu/12.1.0/include" > > ignoring duplicate directory > > "/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/include" > > as it is a non-system directory that duplicates a system directory > > ignoring duplicate directory "/home/maxd/GNU/opt/gnu/gcc-12.1.0/include" > > as it is a non-system directory that duplicates a system directory > > ignoring duplicate directory "/usr/include" > > as it is a non-system directory that duplicates a system directory > > #include "..." search starts here: > > #include <...> search starts here: > > /home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/include > > /home/maxd/GNU/opt/gnu/gcc-12.1.0/lib/gcc/x86_64-linux-gnu/12.1.0/include > > /home/maxd/GNU/opt/gnu/gcc-12.1.0/include > > /usr/include > > End of search list. > > # 0 "" > > # 0 "" > > # 0 "" > > # 1 "" > > [/home/maxd/GNU/Build/musl-1.2.3_gcc-12.1.0] 29> > > > > [/home/maxd/GNU/Build/musl-1.2.3_gcc-12.1.0] 29> ls $INSTALL/include > > aio.h fcntl.h libintl.h pthread.h stddef.h time.h > > alloca.h features.h limits.h pty.h stdint.h uchar.h > > ar.h fenv.h link.h pwd.h stdio_ext.h > > ucontext.h > > arpa float.h locale.h regex.h stdio.h ulimit.h > > assert.h fmtmsg.h malloc.h resolv.h stdlib.h unistd.h > > bits fnmatch.h math.h sched.h stdnoreturn.h utime.h > > byteswap.h ftw.h memory.h scsi string.h utmp.h > > complex.h getopt.h mntent.h search.h strings.h utmpx.h > > cpio.h glob.h monetary.h semaphore.h stropts.h values.h > > crypt.h grp.h mqueue.h setjmp.h sys wait.h > > ctype.h iconv.h net shadow.h syscall.h wchar.h > > dirent.h ifaddrs.h netdb.h signal.h sysexits.h wctype.h > > dlfcn.h inttypes.h netinet spawn.h syslog.h wordexp.h > > elf.h iso646.h netpacket stdalign.h tar.h > > endian.h langinfo.h nl_types.h stdarg.h termios.h > > err.h lastlog.h paths.h stdbool.h tgmath.h > > errno.h libgen.h poll.h stdc-predef.h threads.h > > [/home/maxd/GNU/Build/musl-1.2.3_gcc-12.1.0] 30> > > > >