NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/52217: Broken binary compatibility in libm
>Number: 52217
>Category: lib
>Synopsis: Broken binary compatibility in libm
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 07 19:25:00 +0000 2017
>Originator: coypu
>Release: NetBSD 7.99.70
>Organization:
>Environment:
NetBSD loggy 7.99.70 NetBSD 7.99.70 (GENERIC) #5: Sat Apr 22 11:50:07 IDT 2017 fly@loggy:/home/fly/amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
>How-To-Repeat:
Obtain libm.so from netbsd-7
Create following test.c:
#include <complex.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
long long op1 = 1LL;
printf("%16llx\n", casinl(op1));
return 0;
}
gcc libm.so test.c
./a.out
./a.out: Undefined PLT symbol "casinl" (symnum = 7)
LD_PRELOAD=libm.so ./a.out
0
>Fix:
Home |
Main Index |
Thread Index |
Old Index