Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 7 Mar 2023 20:37:57 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: "Max R. Dechantsreiter" <max@...formancejones.com>
Cc: musl@...ts.openwall.com
Subject: Re: unknown type name '__gnuc_va_list'

* Max R. Dechantsreiter <max@...formancejones.com> [2023-03-07 13:48:03 +0000]:
> My musl-1.2.3 fails to compile the simple test:
> 
> cat > hello.c <<EOF
> #include <stdio.h>
> int main()
> {
>   printf("Hello, world!\n");
>   return 0;
> }
> EOF
> $INSTALL/bin/musl-gcc hello.c
> /usr/include/stdio.h:52:9: error: unknown type name '__gnuc_va_list'
>    52 | typedef __gnuc_va_list va_list;
>       |         ^~~~~~~~~~~~~~

this is not a musl header.

your musl-gcc is broken.

you should look at config.mak and the installed musl-gcc.specs to see why.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.