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 #7 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  a29c4064115e59bcf8c001c0b3dedfa8d49d3653 (commit)

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

commit a29c4064115e59bcf8c001c0b3dedfa8d49d3653
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=f0b03bc24b54927677af56778309b6d58aac5eb4

commit f0b03bc24b54927677af56778309b6d58aac5eb4
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=ccf880ba92fe1ef7f29f17062ba6aa2aa7b52f50

commit ccf880ba92fe1ef7f29f17062ba6aa2aa7b52f50
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]