bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recent libc breaks Hurd builds


From: Justus Winter
Subject: Recent libc breaks Hurd builds
Date: Sat, 07 Mar 2015 17:33:15 +0100
User-agent: alot/0.3.5

Hello,

with the current libc from debian-ports (2.19-16~1) I see:

gcc -std=gnu99 -fgnu89-inline -Wall -g -O3  -g -O2 -fstack-protector-strong 
-Wformat -Werror=format-security -I. -I../../libshouldbeinlibc -I.. -I../.. 
-I../include -I../../include -D_GNU_SOURCE -D_IO_MTSAFE_IO 
-D_FILE_OFFSET_BITS=64  -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"GNU\ Hurd\" 
-DPACKAGE_TARNAME=\"hurd\" -DPACKAGE_VERSION=\"0.5\" -DPACKAGE_STRING=\"GNU\ 
Hurd\ 0.5\" -DPACKAGE_BUGREPORT=\"bug-hurd@gnu.org\" 
-DPACKAGE_URL=\"http://www.gnu.org/software/hurd/\"; -DHAVE_MIG_RETCODE=1 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PARTED_PARTED_H=1 -DHAVE_LIBPARTED=1 
-DHAVE_LIBUUID=1 -DHAVE_LIBDL=1 -DYYTEXT_POINTER=1 -DX11_PREFIX=\"/usr\" 
-DHAVE_DAEMON=1 -DHAVE_BLKID=1 -DHAVE_LIBREADLINE=1  -c -o timefmt.o 
../../libshouldbeinlibc/timefmt.c
In file included from /usr/include/i386-gnu/bits/stdio-lock.h:22:0,
from /usr/include/libio.h:149,
from /usr/include/stdio.h:74,
from ../../libshouldbeinlibc/timefmt.c:21:
/usr/include/i386-gnu/bits/libc-lock.h:257:34: error: unknown type name 
‘pthread_mutex_t’
extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
                                                 ^
[...]

Minimal test case:

echo "#include <stdio.h>" | gcc -D_IO_MTSAFE_IO -x c -

Justus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]