diff options
| author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-12-05 22:19:47 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-12-06 22:15:25 +0000 |
| commit | b14c692fa08dc7bc53a81d32d36ddb1231769040 (patch) | |
| tree | e6863b1518d6a312880d9c6a511c754b3f75eed2 /dev-db/postgresql/files/postgresql-9.5-no-server.patch | |
| parent | bc7b8a45ed71adfda200d51ce1da52055dcfe575 (diff) | |
| download | gentoo-b14c692fa08dc7bc53a81d32d36ddb1231769040.tar.gz gentoo-b14c692fa08dc7bc53a81d32d36ddb1231769040.tar.bz2 gentoo-b14c692fa08dc7bc53a81d32d36ddb1231769040.zip | |
sys-libs/glibc: disable stack protection by default on mips* targets
Otherwise dlopen() crashes (found on 'top' from 'procps' package).
Original backtrace from qemu-mipsn32 (fails the same way on native host):
```
Program received signal SIGSEGV, Segmentation fault.
0x408cb908 in _dlerror_run (operate=operate@entry=0x408cadf0 <dlopen_doit>, args=args@entry=0x407feb28) at dlerror.c:163
163 result->errcode = _dl_catch_error (&result->objname, &result->errstring,
(gdb) bt
#0 0x408cb908 in _dlerror_run (operate=operate@entry=0x408cadf0 <dlopen_doit>, args=args@entry=0x407feb28) at dlerror.c:163
#1 0x408caf4c in __dlopen (file=file@entry=0x10012d58 "libnuma.so", mode=mode@entry=1) at dlopen.c:87
#2 0x1000306c in before (me=0x407ff382 "/usr/mips64-unknown-linux-gnu/usr/bin/top") at top/top.c:3308
#3 0x10001a10 in main (dont_care_argc=<optimized out>, argv=0x407ff1a4) at top/top.c:5721
```
Reported-by: Matt Turner
Bug: https://bugs.gentoo.org/640130
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-db/postgresql/files/postgresql-9.5-no-server.patch')
0 files changed, 0 insertions, 0 deletions
