This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add rpmatch(3)


Hi,

I'm trying to build cross-toolchains for aarch64-none-elf and arm-none-eabi, and since this patch, newlib has been failing to build with:

/work/alalaw01/build2-aarch64-none-elf/obj/gcc1/gcc/xgcc -B/work/alalaw01/build2-aarch64-none-elf/obj/gcc1/gcc/ -B/work/alalaw01/build2-aarch64-none-elf/obj/binutils/aarch64-none-elf/ilp32/newlib/ -isystem /work/alalaw01/build2-aarch64-none-elf/obj/binutils/aarch64-none-elf/ilp32/newlib/targ-include -isystem /work/alalaw01/src2/binutils-gdb/newlib/libc/include -B/work/alalaw01/build2-aarch64-none-elf/obj/binutils/aarch64-none-elf/ilp32/libgloss/aarch64 -L/work/alalaw01/build2-aarch64-none-elf/obj/binutils/aarch64-none-elf/ilp32/libgloss/libnosys -L/work/alalaw01/src2/binutils-gdb/libgloss/aarch64 -L/work/alalaw01/build2-aarch64-none-elf/obj/binutils/./ld -mabi=ilp32 -I. -I/work/alalaw01/src2/binutils-gdb/newlib/libc/stdlib -D__NO_SYSCALLS__ -fno-builtin -O2 -g -mabi=ilp32 -c -o lib_a-rpmatch.o `test -f 'rpmatch.c' || echo '/work/alalaw01/src2/binutils-gdb/newlib/libc/stdlib/'`rpmatch.c In file included from /work/alalaw01/src2/binutils-gdb/newlib/libc/stdlib/rpmatch.c:62:0: /work/alalaw01/src2/binutils-gdb/newlib/libc/include/regex.h:43:9: error: unknown type name 'off_t'
 typedef off_t regoff_t;
         ^~~~~

make[7]: *** [lib_a-rpmatch.o] Error 1


(Same with -mabi=lp64, and for arm-none-eabi).

Any chance you could take a look?

FYI my binutils/config.log has:
$ /work/alalaw01/src2/binutils-gdb/configure --enable-initfini-array --enable-64-bit-bfd --enable-targets=arm-none-eabi,aarch64-none-linux-gnu,aarch64-none-elf --disable-newlib-supplied-syscalls --enable-newlib-io-long-long --enable-newlib-mb --target=aarch64-none-elf --prefix=/work/alalaw01/build2-aarch64-none-elf/install --with-pkgversion=unknown --disable-nls --without-x --disable-gdbtk --disable-tui --without-python --without-tcl --without-tk

and binutils/aarch64-none-elf/newlib/config.log:

$ /work/alalaw01/src2/binutils-gdb/newlib/configure --srcdir=/work/alalaw01/src2/binutils-gdb/newlib --cache-file=./config.cache --with-newlib --enable-multilib --with-cross-host=x86_64-pc-linux-gnu --enable-initfini-array --enable-64-bit-bfd --enable-targets=arm-none-eabi,aarch64-none-linux-gnu,aarch64-none-elf --disable-newlib-supplied-syscalls --enable-newlib-io-long-long --enable-newlib-mb --prefix=/work/alalaw01/build2-aarch64-none-elf/install --with-pkgversion=unknown --disable-nls --without-x --disable-gdbtk --disable-tui --without-python --without-tcl --without-tk --program-transform-name=s&^&aarch64-none-elf-& --disable-option-checking --with-target-subdir=aarch64-none-elf --build=x86_64-pc-linux-gnu --host=aarch64-none-elf --target=aarch64-none-elf build_alias=x86_64-pc-linux-gnu host_alias=aarch64-none-elf target_alias=aarch64-none-elf CC= /work/alalaw01/build2-aarch64-none-elf/obj/gcc1/gcc/xgcc -B/work/alalaw01/build2-aarch64-none-elf/obj/gcc1/gcc/ -B/work/alalaw01/build2-aarch64-none-elf/obj/binutils/aarch64-none-elf/newlib/ -isystem /work/alalaw01/build2-aarch64-none-elf/obj/binutils/aarch64-none-elf/newlib/targ-include -isystem /work/alalaw01/src2/binutils-gdb/newlib/libc/include -B/work/alalaw01/build2-aarch64-none-elf/obj/binutils/aarch64-none-elf/libgloss/aarch64 -L/work/alalaw01/build2-aarch64-none-elf/obj/binutils/aarch64-none-elf/libgloss/libnosys -L/work/alalaw01/src2/binutils-gdb/libgloss/aarch64 -L/work/alalaw01/build2-aarch64-none-elf/obj/binutils/./ld CFLAGS=-O2 -g LDFLAGS=-specs rdimon.specs CPPFLAGS= --no-create --no-recursion

Thanks, Alan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]