bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 se


From: hjl.tools at gmail dot com
Subject: [Bug ld/23194] Building glibc 2.27 on 32-bit Intel with binutils 2.30 segfaults in elf subdir
Date: Fri, 18 May 2018 21:01:21 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|i686-pc-linux-gnu           |x86_64-*-*, i?86-*-*
               Host|i686-pc-linux-gnu           |
              Build|i686-pc-linux-gnu           |

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
address@hidden pr23194]$ cat x.c
void
foo (void)
{
}

asm (".symver foo,address@hidden");

void
bar (void)
{
  foo ();
}
address@hidden pr23194]$ cat x.map
FOO {
  global: bar;
  local: *;
};
address@hidden pr23194]$ make
gcc -B./ -O2 -fno-plt -fpic   -c -o x.o x.c
./ld -shared -o ld.so x.o --version-script=x.map
make: *** [Makefile:34: ld.so] Segmentation fault
make: *** Deleting file 'ld.so'
address@hidden pr23194]$ 

The problem is bfd_find_version_for_sym doesn't match
_bfd_elf_link_assign_sym_version.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]