This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/15194] pow leads to segmentation fault when called after fesetround(FE_UPWARD);


http://sourceware.org/bugzilla/show_bug.cgi?id=15194

--- Comment #4 from Thierry Martinez <martinez at nsup dot org> 2013-02-26 15:23:11 UTC ---
Indeed, I am sorry: I forgot the -static option and ld did not choose the
uninstalled glibc version.

Compiling with
CPATH=$GLIBCGIT/include gcc --verbose -c -o test.o test.c

and linking with
LIBRARY_PATH=$GLIBCGIT/lib gcc --verbose -static -o test test.o

leads to an executable which
- exits with status 158 on Linux 3.2.0-36-generic x86_64, Ubuntu 12.04.1 LTS,
Intel(R) Xeon(R) CPU E5-1620
- exits with status 158 on Linux 2.6.32-44-generic x86_64, Ubuntu 10.04.4 LTS,
Intel(R) Core(TM)2 Quad CPU Q9550
- exits with success (status 0) Linux 2.6.32-5-amd64, Debian 6.0.7.

while the code associated to the bug 3976 works correctly on all these
computers when compiled with this glibc version.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]