Skip to content

Commit

Permalink
Always use PIC option with -shared in libtool
Browse files Browse the repository at this point in the history
Libtool needs to pass PIC option -shared when creating shared object to
link regular object files with slim-lto archive.

	PR bootstrap/63784
	* libtool.m4: Add $pic_flag with -shared.

boehm-gc/

	PR bootstrap/63784
	* configure: Regenerated.

gcc/

	PR bootstrap/63784
	* configure: Regenerated.

libatomic/

	PR bootstrap/63784
	* configure: Regenerated.

libbacktrace/

	PR bootstrap/63784
	* configure: Regenerated.

libcc1/

	PR bootstrap/63784
	* configure: Regenerated.

libcilkrts/

	PR bootstrap/63784
	* configure: Regenerated.

libffi/

	PR bootstrap/63784
	* configure: Regenerated.

libgfortran/

	PR bootstrap/63784
	* configure: Regenerated.

libgomp/

	PR bootstrap/63784
	* configure: Regenerated.

libitm/

	PR bootstrap/63784
	* configure: Regenerated.

libjava/

	PR bootstrap/63784
	* configure: Regenerated.

libjava/classpath/

	PR bootstrap/63784
	* configure: Regenerated.

libobjc/

	PR bootstrap/63784
	* configure: Regenerated.

libquadmath/

	PR bootstrap/63784
	* configure: Regenerated.

libsanitizer/

	PR bootstrap/63784
	* configure: Regenerated.

libssp/

	PR bootstrap/63784
	* configure: Regenerated.

libstdc++-v3/

	PR bootstrap/63784
	* configure: Regenerated.

libvtv/

	PR bootstrap/63784
	* configure: Regenerated.

lto-plugin/

	PR bootstrap/63784
	* configure: Regenerated.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217937 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
hjl committed Nov 21, 2014
1 parent 2898809 commit 4e8a08d
Show file tree
Hide file tree
Showing 41 changed files with 146 additions and 46 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 Markus Trippelsdorf <markus@trippelsdorf.de>

PR bootstrap/63784
* libtool.m4: Add $pic_flag with -shared.

2014-11-21 Renlin Li <Renlin.Li@arm.com>

* MAINTAINERS (Write After Approval): Added myself.
Expand Down
5 changes: 5 additions & 0 deletions boehm-gc/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

PR target/63610
Expand Down
6 changes: 3 additions & 3 deletions boehm-gc/configure
Expand Up @@ -9081,7 +9081,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -12019,8 +12019,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'

hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
Expand Down
5 changes: 5 additions & 0 deletions gcc/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>

* config/aarch64/arm_neon.h (vsqrt_f64): New intrinsic.
Expand Down
6 changes: 3 additions & 3 deletions gcc/configure
Expand Up @@ -15936,7 +15936,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -18847,8 +18847,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'

hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
Expand Down
5 changes: 5 additions & 0 deletions libatomic/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>

* cas_n.c (libat_compare_exchange): Add missing cast.
Expand Down
2 changes: 1 addition & 1 deletion libatomic/configure
Expand Up @@ -8901,7 +8901,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down
5 changes: 5 additions & 0 deletions libbacktrace/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-11 David Malcolm <dmalcolm@redhat.com>

* ChangeLog.jit: New.
Expand Down
2 changes: 1 addition & 1 deletion libbacktrace/configure
Expand Up @@ -8879,7 +8879,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down
5 changes: 5 additions & 0 deletions libcc1/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

* configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
Expand Down
6 changes: 3 additions & 3 deletions libcc1/configure
Expand Up @@ -8326,7 +8326,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -11642,8 +11642,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'

hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
Expand Down
5 changes: 5 additions & 0 deletions libcilkrts/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-13 Kirill Yukhin <kirill.yukhin@intel.com>

* configure.tgt: Use config/target-posix.
Expand Down
6 changes: 3 additions & 3 deletions libcilkrts/configure
Expand Up @@ -8849,7 +8849,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -11760,8 +11760,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'

hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
Expand Down
5 changes: 5 additions & 0 deletions libffi/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

PR target/63610
Expand Down
2 changes: 1 addition & 1 deletion libffi/configure
Expand Up @@ -8697,7 +8697,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down
5 changes: 5 additions & 0 deletions libgfortran/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-16 Janne Blomqvist <jb@gcc.gnu.org>

PR libfortran/60324
Expand Down
4 changes: 2 additions & 2 deletions libgfortran/configure
Expand Up @@ -10118,7 +10118,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -13967,7 +13967,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down
5 changes: 5 additions & 0 deletions libgomp/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-19 Uros Bizjak <ubizjak@gmail.com>

* testsuite/libgomp.c/examples-4/e.53.5.c: Require
Expand Down
4 changes: 2 additions & 2 deletions libgomp/configure
Expand Up @@ -8887,7 +8887,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -12747,7 +12747,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down
5 changes: 5 additions & 0 deletions libitm/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

PR target/63610
Expand Down
6 changes: 3 additions & 3 deletions libitm/configure
Expand Up @@ -9575,7 +9575,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -12486,8 +12486,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'

hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
Expand Down
5 changes: 5 additions & 0 deletions libjava/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

PR target/63610
Expand Down
5 changes: 5 additions & 0 deletions libjava/classpath/ChangeLog
@@ -1,3 +1,8 @@
2014-11-09 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>

Fix current cygwin-64 build problems.
Expand Down
6 changes: 3 additions & 3 deletions libjava/classpath/configure
Expand Up @@ -9642,7 +9642,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -13956,8 +13956,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'

hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
Expand Down
8 changes: 4 additions & 4 deletions libjava/configure
Expand Up @@ -11151,7 +11151,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -14089,8 +14089,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'

hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
Expand Down Expand Up @@ -18113,7 +18113,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down
5 changes: 5 additions & 0 deletions libobjc/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

PR target/63610
Expand Down
2 changes: 1 addition & 1 deletion libobjc/configure
Expand Up @@ -8364,7 +8364,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down
5 changes: 5 additions & 0 deletions libquadmath/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

PR target/63610
Expand Down
2 changes: 1 addition & 1 deletion libquadmath/configure
Expand Up @@ -8290,7 +8290,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down
5 changes: 5 additions & 0 deletions libsanitizer/ChangeLog
@@ -1,3 +1,8 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>

PR bootstrap/63784
* configure: Regenerated.

2014-11-21 Jakub Jelinek <jakub@redhat.com>

PR target/61137
Expand Down
6 changes: 3 additions & 3 deletions libsanitizer/configure
Expand Up @@ -9809,7 +9809,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -12720,8 +12720,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'

hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
Expand Down

0 comments on commit 4e8a08d

Please sign in to comment.