This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
RE: Dynamic linker issue with bind now?
- From: "Petar Jovanovic" <petar dot jovanovic at rt-rk dot com>
- To: "'Roland McGrath'" <roland at hack dot frob dot com>
- Cc: <libc-alpha at sourceware dot org>, <petar dot jovanovic at imgtec dot com>, <davem at davemloft dot net>
- Date: Wed, 20 Aug 2014 20:19:10 +0200
- Subject: RE: Dynamic linker issue with bind now?
- Authentication-results: sourceware.org; auth=none
- References: <1408493406-86741-1-git-send-email-petar dot jovanovic at rt-rk dot com> <20140820170817 dot 8C7AE2C3980 at topped-with-meat dot com>
Hi Roland,
Building/running content_shell for MIPS32 from Chromium ToT will trigger
this
issue.
Here is the output from:
$ mipsel-linux-gnu-readelf -d out/Release/content_shell
Dynamic section at offset 0x1a4 contains 68 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libfreetype.so.6]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library:
[libgmodule-2.0.so.0]
0x00000001 (NEEDED) Shared library:
[libgobject-2.0.so.0]
0x00000001 (NEEDED) Shared library: [libglib-2.0.so.0]
0x00000001 (NEEDED) Shared library: [libnss3.so]
0x00000001 (NEEDED) Shared library: [libnssutil3.so]
0x00000001 (NEEDED) Shared library: [libsmime3.so]
0x00000001 (NEEDED) Shared library: [libplc4.so]
0x00000001 (NEEDED) Shared library: [libnspr4.so]
0x00000001 (NEEDED) Shared library: [libgconf-2.so.4]
0x00000001 (NEEDED) Shared library:
[libfontconfig.so.1]
0x00000001 (NEEDED) Shared library:
[libpangocairo-1.0.so.0]
0x00000001 (NEEDED) Shared library: [libcairo.so.2]
0x00000001 (NEEDED) Shared library: [libpango-1.0.so.0]
0x00000001 (NEEDED) Shared library: [libX11.so.6]
0x00000001 (NEEDED) Shared library: [libXi.so.6]
0x00000001 (NEEDED) Shared library: [libXcursor.so.1]
0x00000001 (NEEDED) Shared library: [libXext.so.6]
0x00000001 (NEEDED) Shared library: [libXfixes.so.3]
0x00000001 (NEEDED) Shared library: [libXrender.so.1]
0x00000001 (NEEDED) Shared library:
[libXcomposite.so.1]
0x00000001 (NEEDED) Shared library: [libasound.so.2]
0x00000001 (NEEDED) Shared library: [libXdamage.so.1]
0x00000001 (NEEDED) Shared library: [libXtst.so.6]
0x00000001 (NEEDED) Shared library: [libXrandr.so.2]
0x00000001 (NEEDED) Shared library: [libexpat.so.1]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libcap.so.2]
0x00000001 (NEEDED) Shared library: [libudev.so.0]
0x00000001 (NEEDED) Shared library: [libdbus-1.so.3]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000001 (NEEDED) Shared library: [ld.so.1]
0x0000000f (RPATH) Library rpath: [$ORIGIN/lib/]
0x0000000c (INIT) 0x7cb45c
0x0000000d (FINI) 0x40039b0
0x00000004 (HASH) 0x4003ec
0x00000005 (STRTAB) 0x4cf098
0x00000006 (SYMTAB) 0x431998
0x0000000a (STRSZ) 2283769 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x70000016 (MIPS_RLD_MAP) 0x4dbb498
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x4dbb4a0
0x00000011 (REL) 0x7108e4
0x00000012 (RELSZ) 59800 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x70000001 (MIPS_RLD_VERSION) 1
0x70000005 (MIPS_FLAGS) NOTPOT
0x70000006 (MIPS_BASE_ADDRESS) 0x400000
0x7000000a (MIPS_LOCAL_GOTNO) 15719
0x70000011 (MIPS_SYMTABNO) 40304
0x70000012 (MIPS_UNREFEXTNO) 41
0x70000013 (MIPS_GOTSYM) 0x97fd
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x7cb454
0x00000002 (PLTRELSZ) 8 (bytes)
0x70000032 (MIPS_PLTGOT) 0x4da7ff0
0x00000018 (BIND_NOW)
0x6ffffffb (FLAGS_1) Flags: NOW
0x6ffffffe (VERNEED) 0x710474
0x6fffffff (VERNEEDNUM) 11
0x6ffffff0 (VERSYM) 0x6fc992
0x00000000 (NULL) 0x0
Regards,
Petar
-----Original Message-----
From: Roland McGrath [mailto:roland@hack.frob.com]
Sent: Wednesday, August 20, 2014 7:08 PM
To: Petar Jovanovic
Cc: libc-alpha@sourceware.org; petar.jovanovic@imgtec.com;
davem@davemloft.net
Subject: Re: Dynamic linker issue with bind now?
You need to supply a test case.