This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/16982] New: configure: error: linker with -z relro support required


https://sourceware.org/bugzilla/show_bug.cgi?id=16982

            Bug ID: 16982
           Summary: configure: error: linker with -z relro support
                    required
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: 2947868523 at qq dot com
                CC: drepper.fsp at gmail dot com

On Centos 6.0,glibc 2.19
make cross-compiler for arm

cd $PRJROOT/build/glibc

CC=${TARGET}-gcc LD=${TARGET}-ld AR=${TARGET}-ar RANLIB=${TARGET}-ranlib
../../src/glibc-2.19/configure --target=$TARGET --prefix=$PREFIX --with-tls
--enable-add-ons --with-headers=$TARGET_PREFIX/include
libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes libc_cv_arm_tls=yes
--disable-profile

when i check env...

${TARGET}-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/home/lianhua/arm-linux/4.9.0/arm-linux/4.9.0/libexec/gcc/arm-none-eabi/4.9.0/lto-wrapper
Target: arm-none-eabi
Configured with: ../../src/gcc-4.9.0/configure --target=arm-none-eabi
--prefix=/home/lianhua/arm-linux/4.9.0/arm-linux/4.9.0 --without-headers
--enable-languages=c --disable-shared --disable-threads --disable-decimal-float
--disable-libmudflap --disable-lipssp --with-newlib
Thread model: single
gcc version 4.9.0 (GCC) 

 ${TARGET}-ld -v
GNU ld (GNU Binutils) 2.24

which ${TARGET}-ld
~/arm-linux/4.9.0/arm-linux/4.9.0/bin/arm-none-eabi-ld

 which ${TARGET}-gcc
~/arm-linux/4.9.0/arm-linux/4.9.0/bin/arm-none-eabi-gcc

which ${TARGET}-ar
~/arm-linux/4.9.0/arm-linux/4.9.0/bin/arm-none-eabi-ar

which ${TARGET}-ranlib
~/arm-linux/4.9.0/arm-linux/4.9.0/bin/arm-none-eabi-ranlib

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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