This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Are static-only builds supposed to work?
- From: Florian Weimer <fweimer at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 13 Jul 2016 12:02:51 +0200
- Subject: Are static-only builds supposed to work?
- Authentication-results: sourceware.org; auth=none
I configured with --disable-shared, and got this error:
gawk -f ../scripts/gen-as-const.awk
../sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym \
| gcc -S -o /home/fweimer/src/gnu/glibc/build/ucontext_i.hT3 -std=gnu11
-fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings
-fmerge-all-constants -frounding-math -g -Wstrict-prototypes
-Wold-style-definition -ftls-model=initial-exec -I../include
-I/home/fweimer/src/gnu/glibc/build/csu
-I/home/fweimer/src/gnu/glibc/build
-I../sysdeps/unix/sysv/linux/x86_64/64
-I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86
-I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl
-I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux
-I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64
-I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu
-I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu
-I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic
-I.. -I../libio -I. -D_LIBC_REENTRANT -include
/home/fweimer/src/gnu/glibc/build/libc-modules.h -DMODULE_NAME=libc
-include ../include/libc-symbols.h -x c - \
-MD -MP -MF /home/fweimer/src/gnu/glibc/build/ucontext_i.h.dT
-MT '/home/fweimer/src/gnu/glibc/build/ucontext_i.h.d
/home/fweimer/src/gnu/glibc/build/ucontext_i.h'
cc1: fatal error: /home/fweimer/src/gnu/glibc/build/libc-modules.h: No
such file or directory
Are static-only builds supposed to work? Do we have to support them in
our makefiles going forward?
Thanks,
Florian