mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
Use a non-empty test program to test ability to link.
On bare-metal targets, I/O support is typically provided by a BSP and requires a linker script and/or hosting library to be specified on the linker command line. Linking an empty program with the default linker script may succeed, however, which confuses libstdc++ configuration when programs that probe for the presence of various I/O features fail with link errors. 2020-02-12 Sandra Loosemore <sandra@codesourcery.com> PR libstdc++/79193 PR libstdc++/88999 config/ * no-executables.m4: Use a non-empty program to test for linker support. libgcc/ * configure: Regenerated. libgfortran/ * configure: Regenerated. libiberty/ * configure: Regenerated. libitm/ * configure: Regenerated. libobjc/ * configure: Regenerated. libquadmath/ * configure: Regenerated. libssp/ * configure: Regenerated. libstdc++v-3/ * configure: Regenerated.
This commit is contained in:
parent
3f3932a0ec
commit
02ce382cd3
@ -1,3 +1,11 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* no-executables.m4: Use a non-empty program to test for linker
|
||||
support.
|
||||
|
||||
2020-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Update shell syntax.
|
||||
|
@ -25,7 +25,9 @@ AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
|
||||
AC_BEFORE([$0], [AC_LINK_IFELSE])
|
||||
|
||||
m4_define([_AC_COMPILER_EXEEXT],
|
||||
[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
|
||||
[AC_LANG_CONFTEST([AC_LANG_PROGRAM(
|
||||
[#include <stdio.h>],
|
||||
[printf ("hello world\n");])])
|
||||
# FIXME: Cleanup?
|
||||
AS_IF([AC_TRY_EVAL(ac_link)], [gcc_no_link=no], [gcc_no_link=yes])
|
||||
if test x$gcc_no_link = xyes; then
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-02-10 Jeff Law <law@redhat.com>
|
||||
|
||||
* config/frv/frvbegin.c: Use right flags for .ctors and .dtors
|
||||
|
4
libgcc/configure
vendored
4
libgcc/configure
vendored
@ -3553,11 +3553,11 @@ done
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <stdio.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
printf ("hello world\n");
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
|
||||
|
||||
* configure.ac: Handle `--with-toolexeclibdir='.
|
||||
|
4
libgfortran/configure
vendored
4
libgfortran/configure
vendored
@ -4042,11 +4042,11 @@ done
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <stdio.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
printf ("hello world\n");
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-02-05 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* hashtab.c (htab_remove_elt): Make a parameter const.
|
||||
|
4
libiberty/configure
vendored
4
libiberty/configure
vendored
@ -3310,11 +3310,11 @@ done
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <stdio.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
printf ("hello world\n");
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
|
||||
|
||||
* configure.ac: Handle `--with-toolexeclibdir='.
|
||||
|
0
libitm/configure
vendored
Normal file → Executable file
0
libitm/configure
vendored
Normal file → Executable file
@ -1,3 +1,10 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
|
||||
|
||||
* Makefile.in (aclocal_deps): Add `toolexeclibdir.m4'.
|
||||
|
4
libobjc/configure
vendored
4
libobjc/configure
vendored
@ -2917,11 +2917,11 @@ done
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <stdio.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
printf ("hello world\n");
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
|
||||
|
||||
* configure.ac: Handle `--with-toolexeclibdir='.
|
||||
|
4
libquadmath/configure
vendored
4
libquadmath/configure
vendored
@ -3461,11 +3461,11 @@ done
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <stdio.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
printf ("hello world\n");
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
|
||||
|
||||
* configure.ac: Handle `--with-toolexeclibdir='.
|
||||
|
4
libssp/configure
vendored
4
libssp/configure
vendored
@ -3402,11 +3402,11 @@ done
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <stdio.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
printf ("hello world\n");
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
PR libstdc++/79193
|
||||
PR libstdc++/88999
|
||||
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-02-12 François Dumont <fdumont@gcc.gnu.org>
|
||||
|
||||
* include/bits/hashtable.h
|
||||
|
4
libstdc++-v3/configure
vendored
4
libstdc++-v3/configure
vendored
@ -4130,11 +4130,11 @@ done
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include <stdio.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
||||
printf ("hello world\n");
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user