public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/16982] New: configure: error: linker with -z relro support required
@ 2014-05-25 13:10 2947868523 at qq dot com
2014-05-25 13:11 ` [Bug libc/16982] " 2947868523 at qq dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-25 13:10 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libc/16982] configure: error: linker with -z relro support required
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
@ 2014-05-25 13:11 ` 2947868523 at qq dot com
2014-05-25 13:17 ` [Bug build/16982] " 2947868523 at qq dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-25 13:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16982
Chenyuan.Liu <2947868523 at qq dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |glibc_2.19
Assignee|unassigned at sourceware dot org |2947868523 at qq dot com
Target Milestone|--- |2.19
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/16982] configure: error: linker with -z relro support required
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
2014-05-25 13:11 ` [Bug libc/16982] " 2947868523 at qq dot com
@ 2014-05-25 13:17 ` 2947868523 at qq dot com
2014-05-25 13:35 ` 2947868523 at qq dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-25 13:17 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16982
Chenyuan.Liu <2947868523 at qq dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
Component|libc |build
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/16982] configure: error: linker with -z relro support required
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
2014-05-25 13:11 ` [Bug libc/16982] " 2947868523 at qq dot com
2014-05-25 13:17 ` [Bug build/16982] " 2947868523 at qq dot com
@ 2014-05-25 13:35 ` 2947868523 at qq dot com
2014-05-25 13:36 ` 2947868523 at qq dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-25 13:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16982
--- Comment #1 from Chenyuan.Liu <2947868523 at qq dot com> ---
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2344: checking build system type
configure:2358: result: i686-pc-linux-gnu
configure:2378: checking host system type
configure:2391: result: i686-pc-linux-gnu
configure:2460: checking for gcc
configure:2487: result: arm-none-eabi-gcc
configure:2716: checking for C compiler version
configure:2725: arm-none-eabi-gcc --version >&5
arm-none-eabi-gcc (GCC) 4.9.0
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2736: $? = 0
configure:2725: arm-none-eabi-gcc -v >&5
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)
configure:2736: $? = 0
configure:2725: arm-none-eabi-gcc -V >&5
arm-none-eabi-gcc: error: unrecognized command line option '-V'
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
configure:2736: $? = 1
configure:2725: arm-none-eabi-gcc -qversion >&5
arm-none-eabi-gcc: error: unrecognized command line option '-qversion'
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
configure:2736: $? = 1
configure:2741: checking for suffix of object files
configure:2763: arm-none-eabi-gcc -c conftest.c >&5
configure:2767: $? = 0
configure:2788: result: o
configure:2792: checking whether we are using the GNU C compiler
configure:2811: arm-none-eabi-gcc -c conftest.c >&5
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/16982] configure: error: linker with -z relro support required
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
` (2 preceding siblings ...)
2014-05-25 13:35 ` 2947868523 at qq dot com
@ 2014-05-25 13:36 ` 2947868523 at qq dot com
2014-05-27 4:32 ` 2947868523 at qq dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-25 13:36 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16982
--- Comment #2 from Chenyuan.Liu <2947868523 at qq dot com> ---
configure:6113: $? = 0
configure:6116: readelf -Wl conftest.so > conftest.ph
configure:6119: $? = 0
configure:6125:
gawk -v commonpagesize=0x1000 -f conftest.awk
conftest.ph > conftest.cps
LINE:
LINE: Elf file type is DYN (Shared object file)
LINE: Entry point 0x2c0
LINE: There are 3 program headers, starting at offset 52
LINE:
LINE: Program Headers:
LINE: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LINE: LOAD 0x000000 0x00000000 0x00000000 0x002c8 0x002c8 R E
0x8000
LINE: LOAD 0x0002c8 0x000082c8 0x000082c8 0x40090 0x40090 RW
0x8000
LINE: DYNAMIC 0x0002d4 0x000082d4 0x000082d4 0x00078 0x00078 RW 0x4
LINE:
LINE: Section to Segment mapping:
LINE: Segment Sections...
LINE: 00 .hash .dynsym .dynstr .rel.dyn .text
LINE: 01 .data.rel.ro .dynamic .got .data
LINE: 02 .dynamic
configure:6128: $? = 0
configure:6133: result: no
configure:6139: error: linker with -z relro support required
## ---------------- ##
## Cache variables. ##
## ---------------- ##
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/16982] configure: error: linker with -z relro support required
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
` (3 preceding siblings ...)
2014-05-25 13:36 ` 2947868523 at qq dot com
@ 2014-05-27 4:32 ` 2947868523 at qq dot com
2014-05-27 4:35 ` 2947868523 at qq dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-27 4:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16982
Chenyuan.Liu <2947868523 at qq dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |2947868523 at qq dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/16982] configure: error: linker with -z relro support required
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
` (4 preceding siblings ...)
2014-05-27 4:32 ` 2947868523 at qq dot com
@ 2014-05-27 4:35 ` 2947868523 at qq dot com
2014-05-27 7:43 ` schwab@linux-m68k.org
2014-06-12 19:11 ` fweimer at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-27 4:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16982
Chenyuan.Liu <2947868523 at qq dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Chenyuan.Liu <2947868523 at qq dot com> ---
change gcc,glibc,glibc-port version can fix it:
now use version:
-rwxrw-rw- 1 lianhua lianhua 26843686 May 26 20:55 binutils-2.22.tar.gz
-rwxrw-rw- 1 lianhua lianhua 93206220 May 26 21:13 gcc-4.6.0.tar.gz
-rwxrw-rw- 1 lianhua lianhua 21256315 May 26 19:06 glibc-2.13.tar.gz
-rwxrw-rw- 1 lianhua lianhua 886382 May 26 19:07 glibc-ports-2.13.tar.gz
-rwxrw-rw- 1 lianhua lianhua 2633571 May 26 21:06 gmp-5.0.2.tar.gz
-rwxrw-rw- 1 lianhua lianhua 94169137 May 24 11:22 linux-2.6.38.6.tar.gz
-rwxrw-rw- 1 lianhua lianhua 565953 May 26 21:21 mpc-0.9.tar.gz
-rwxrw-rw- 1 lianhua lianhua 1621228 May 26 21:22 mpfr-3.1.2.tar.gz
local host gcc change from gcc 4.9.0 to 4.7.4
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/16982] configure: error: linker with -z relro support required
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
` (5 preceding siblings ...)
2014-05-27 4:35 ` 2947868523 at qq dot com
@ 2014-05-27 7:43 ` schwab@linux-m68k.org
2014-06-12 19:11 ` fweimer at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2014-05-27 7:43 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16982
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |INVALID
--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
Not a glibc bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/16982] configure: error: linker with -z relro support required
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
` (6 preceding siblings ...)
2014-05-27 7:43 ` schwab@linux-m68k.org
@ 2014-06-12 19:11 ` fweimer at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: fweimer at redhat dot com @ 2014-06-12 19:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16982
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-06-12 19:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-25 13:10 [Bug libc/16982] New: configure: error: linker with -z relro support required 2947868523 at qq dot com
2014-05-25 13:11 ` [Bug libc/16982] " 2947868523 at qq dot com
2014-05-25 13:17 ` [Bug build/16982] " 2947868523 at qq dot com
2014-05-25 13:35 ` 2947868523 at qq dot com
2014-05-25 13:36 ` 2947868523 at qq dot com
2014-05-27 4:32 ` 2947868523 at qq dot com
2014-05-27 4:35 ` 2947868523 at qq dot com
2014-05-27 7:43 ` schwab@linux-m68k.org
2014-06-12 19:11 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).