From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11357 invoked by alias); 26 Feb 2013 15:23:41 -0000 Received: (qmail 10154 invoked by uid 48); 26 Feb 2013 15:23:12 -0000 From: "martinez at nsup dot org" To: glibc-bugs@sourceware.org Subject: [Bug math/15194] pow leads to segmentation fault when called after fesetround(FE_UPWARD); Date: Tue, 26 Feb 2013 15:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martinez at nsup dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00151.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15194 --- Comment #4 from Thierry Martinez 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.