glibc 2.21 cross-compile for x86_64

Waldemar Brodkorb wbx@openadk.org
Mon Jun 15 21:23:00 GMT 2015


Hi,

I am trying to cross-compile glibc 2.21 for PCengines APU (AMD
X86_64 CPU). This worked fine for glibc 2.19 with binutils 2.25 and
gcc 4.9.2.
With glibc 2.20/glibc 2.21 I get following errors:
/home/wbx/rubidium-nfsroot/toolchain_pcengines-apu_glibc_x86_64/usr/bin/x86_64-openadk-linux-gnu-gcc
-m64 gconv_trans.c -c -std=gnu99 -fgnu89-inline  -O2 -Wall -Winline
-Wundef -W
write-strings -fhonour-copts -fmerge-all-constants
-fno-asynchronous-unwind-tables -fno-ident -fno-unwind-tables
-frounding-math -fwrapv -march=btver1 -pipe -Wstrict-prototypes  -
fomit-frame-pointer        -I../include
-I/home/wbx/rubidium-nfsroot/toolchain_build_pcengines-apu_glibc_x86_64/w-glibc-2.21-1/glibc-2.21-final/iconv
-I/home/wbx/rubidium-nfsroot
/toolchain_build_pcengines-apu_glibc_x86_64/w-glibc-2.21-1/glibc-2.21-final
-I../sysdeps/unix/sysv/linux/x86_64/64
-I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/li
nux/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.
-nostdinc -isystem
/home/wbx/rubidium-nfsroot/toolchain_pcengines-apu_glibc_x86_64/usr/lib/gcc/x86_64-openadk-linux-gnu/4.9.2/include
-isystem
/home/wbx/rubidium-nfsroot/toolchain_pcengines-apu_glibc_x86_64/usr/lib/gcc/x86_64-openadk-linux-gnu/4.9.2/include-fixed
-isystem
/home/wbx/rubidium-nfsroot/target_pcengines-apu_glibc_x86_64/usr/include
-D_LIBC_REENTRANT -include
/home/wbx/rubidium-nfsroot/toolchain_build_pcengines-apu_glibc_x86_64/w-glibc-2.21-1/glibc-2.21-final/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h       -o
/home/wbx/rubidium-nfsroot/toolchain_build_pcengines-apu_glibc_x86_64/w-glibc-2.21-1/glibc-2.21-final/iconv/gconv_trans.o
-MD -MP -MF
/home/wbx/rubidium-nfsroot/toolchain_build_pcengines-apu_glibc_x86_64/w-glibc-2.21-1/glibc-2.21-final/iconv/gconv_trans.o.dt
-MT
/home/wbx/rubidium-nfsroot/toolchain_build_pcengines-apu_glibc_x86_64/w-glibc-2.21-1/glibc-2.21-final/iconv/gconv_trans.o
gconv_conf.c: Assembler messages:
gconv_conf.c:443: Error: CFI instruction used without previous
.cfi_startproc
gconv_conf.c:446: Error: CFI instruction used without previous
.cfi_startproc
gconv_conf.c:541: Error: CFI instruction used without previous
.cfi_startproc
gconv_conf.c:544: Error: CFI instruction used without previous
.cfi_startproc

Any idea what's wrong?

best regards
 Waldemar



More information about the Libc-help mailing list