[Bug libc/17836] -pg -pie doesn't work on x86-64

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Sat Jan 24 14:01:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=17836

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, hjl/pr17711 has been created
        at  b275127fa78f05835e6637845547d8708fc409c9 (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b275127fa78f05835e6637845547d8708fc409c9

commit b275127fa78f05835e6637845547d8708fc409c9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 14 06:29:04 2015 -0800

    Support compilers defaulting to PIE

    If PIE is the default, we need to build programs as PIE.

        * Makeconfig (+link): Set to $(+link-pie) if default to PIE.
        (+link-tests): Set to $(+link-pie-tests) if default to PIE.
        * config.make.in (build-pie-default): New.
        * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
        is default.  AC_SUBST.
        * configure: Regenerated.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=395669ffc85b06719a952aea48a29109daba2fa7

commit 395669ffc85b06719a952aea48a29109daba2fa7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 13 06:19:44 2015 -0800

    Compile gcrt1.o with -fPIC

    We compile gcrt1.o with -fPIC to support both "gcc -pg" and "gcc -pie -pg".

        [BZ #17836]
        * csu/Makefile (extra-objs): Add gmon-start.o if not builing
        shared library.  Add gmon-start.os otherwise.
        ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
        $(objpfx)gmon-start.os if builing shared library.
        ($(objpfx)g$(static-start-installed-name)): Likewise.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bf155b64d93d3f052f32cfefe00591ba3d5d11a3

commit bf155b64d93d3f052f32cfefe00591ba3d5d11a3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Dec 19 06:30:31 2014 -0800

    Compile vismain with -fPIC and link with -pie

-----------------------------------------------------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list