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 libc/17836] -pg -pie doesn't work on x86-64


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

--- Comment #5 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  7cc5c086105f7845ffca7404dbffbba8291e0f1b (commit)

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

commit 7cc5c086105f7845ffca7404dbffbba8291e0f1b
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=d60e7aff7492d60193fc46578bd189a3a3b9f9d3

commit d60e7aff7492d60193fc46578bd189a3a3b9f9d3
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=c3b5a19f195f0f894563f3287e006a863b2427c2

commit c3b5a19f195f0f894563f3287e006a863b2427c2
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.


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