From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20283 invoked by alias); 15 Aug 2010 21:32:04 -0000 Received: (qmail 19964 invoked by uid 48); 15 Aug 2010 21:31:51 -0000 Date: Sun, 15 Aug 2010 21:32:00 -0000 Message-ID: <20100815213151.19963.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/45286] kact.sa_restorer = &restore_rt; in sigaction.c glibc get miss compile with -fPIE on x86_64 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zorry at ume dot nu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg01241.txt.bz2 ------- Comment #12 from zorry at ume dot nu 2010-08-15 21:31 ------- (In reply to comment #11) > It works for me with -fPIC -fPIE using gcc 4.4.4 on > Fedora 13. I got > > movq __restore_rt@GOTPCREL(%rip), %rax > movq %rax, 56(%rsp) > > in assembly output. It is correct. Please make sure that > you use the current Linux binutils. > what do you get only with -fPIE? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45286