[Bug libc/24183] glibc-2.29 fails to build with "--enable-languages=c"
franz.flasch at gmx dot at
sourceware-bugzilla@sourceware.org
Wed Feb 6 19:36:00 GMT 2019
https://sourceware.org/bugzilla/show_bug.cgi?id=24183
--- Comment #10 from franz.flasch at gmx dot at ---
Still the same problem: Here is the complete steps I use in my cross toolchain
build:
1. Binutils:
/working_dir/Desktop/work/private/gcc_toolchain_builds/sources/binutils-2.32/configure
--target=arm-linux-gnueabi
--prefix=/working_dir/Desktop/work/private/gcc_toolchain_builds/toolchain
--disable-nls --disable-werror
make all
make install
2. Linux Header:
make ARCH=arm
INSTALL_HDR_PATH=/working_dir/Desktop/work/private/gcc_toolchain_builds/toolchain/arm-linux-gnueabi
headers_install -j9
3. GCC pass 1:
/working_dir/Desktop/work/private/gcc_toolchain_builds/sources/gcc-gcc-8.2.0/configure
--target=arm-linux-gnueabi
--prefix=/working_dir/Desktop/work/private/gcc_toolchain_builds/toolchain
--disable-nls --enable-languages=c
make all-gcc
make install-gcc
4. glibc header:
/working_dir/Desktop/work/private/gcc_toolchain_builds/sources/glibc-glibc-2.29/configure
--host=arm-linux-gnueabi
--prefix=/working_dir/Desktop/work/private/gcc_toolchain_builds/toolchain/arm-linux-gnueabi
--with-headers=/working_dir/Desktop/work/private/gcc_toolchain_builds/toolchain/arm-linux-gnueabi/include
make install-bootstrap-headers=yes install-headers
make -j9 csu/subdir_lib
install csu/crt1.o csu/crti.o csu/crtn.o
/working_dir/Desktop/work/private/gcc_toolchain_builds/toolchain/arm-linux-gnueabi/lib
/working_dir/Desktop/work/private/gcc_toolchain_builds/toolchain/bin/arm-linux-gnueabi-gcc
-nostdlib -nostartfiles -shared -x c /dev/null -o
/working_dir/Desktop/work/private/gcc_toolchain_builds/toolchain/arm-linux-gnueabi/lib/libc.so
5. GCC pass 2
make -j9 all-target-libgcc
make install-target-libgcc
6. glibc:
make -j9
- Here is where the error occurs. With glibc-2.28 it succeeds. Also this step
succeeds with glibc-2.29, if configured with "--enable-languages=c,c++"
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list