This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17836] -pg -pie doesn't work on x86-64
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 02 Mar 2016 19:24:12 +0000
- Subject: [Bug libc/17836] -pg -pie doesn't work on x86-64
- Auto-submitted: auto-generated
- References: <bug-17836-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17836
--- Comment #10 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/memcpy/dpdk/master has been created
at 1bc1103620e8f6c7e01cb54a8ed04ee1c3eb5a1a (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1bc1103620e8f6c7e01cb54a8ed04ee1c3eb5a1a
commit 1bc1103620e8f6c7e01cb54a8ed04ee1c3eb5a1a
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Jan 30 11:07:13 2015 -0800
Add memcpy-rte-ssse3.c
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f63a6815da4c72626b14b456a6902cc8d3671729
commit f63a6815da4c72626b14b456a6902cc8d3671729
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Jan 30 08:44:30 2015 -0800
Add memcpy-rte-avx.c
Don't inline rte_memcpy.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d2ca99bf141c78bd8d9c1f314ce8a1f12c439d4b
commit d2ca99bf141c78bd8d9c1f314ce8a1f12c439d4b
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Jan 30 08:51:45 2015 -0800
Import rte_memcpy.h
rte_memcpy.h is a memcpy implementation from DPDK:
http://dpdk.org/
optimized for Sandy Bridge and Haswell. See
http://dpdk.org/ml/archives/dev/2014-November/008158.html
The original code is at
https://gist.github.com/lukego/efc82a15bde5ec83cb1b
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=56d25c11b64a97255a115901d136d753c86de24e
commit 56d25c11b64a97255a115901d136d753c86de24e
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Jan 30 06:50:20 2015 -0800
Use AVX unaligned memcpy only if AVX2 is available
memcpy with unaligned 256-bit AVX register loads/stores are slow on older
processorsl like Sandy Bridge. This patch adds bit_AVX_Fast_Unaligned_Load
and sets it only when AVX2 is available.
[BZ #17801]
* sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
* sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
New.
(index_AVX_Fast_Unaligned_Load): Likewise.
(HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
* sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
* sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
* sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
* sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
* sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
* sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
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.