OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
3.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../glibc/any-cc-as-ld-ok.patch.toolchain
  5. # Copyright (C) 2010 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. At toolchain stage we only install glibc headers, so any version of gcc, as
  18. and ld are ok for us.
  19. diff -ruN glibc-2.9-orig/configure glibc-2.9/configure
  20. --- glibc-2.9-orig/configure 2009-02-26 22:28:17.000000000 +0100
  21. +++ glibc-2.9/configure 2010-03-31 10:49:08.000000000 +0200
  22. @@ -4531,9 +4531,9 @@
  23. ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
  24. case $ac_prog_version in
  25. '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
  26. - 2.1[3-9]*)
  27. + *)
  28. ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
  29. - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  30. + XXX) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  31. esac
  32. { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
  33. @@ -4594,9 +4594,9 @@
  34. ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
  35. case $ac_prog_version in
  36. '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
  37. - 2.1[3-9]*)
  38. + *)
  39. ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
  40. - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  41. + XXX) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  42. esac
  43. { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
  44. @@ -4712,9 +4712,9 @@
  45. ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
  46. case $ac_prog_version in
  47. '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
  48. - 3.4* | 4.[0-9]* )
  49. + *)
  50. ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
  51. - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  52. + XXX) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  53. esac
  54. { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
  55. diff -ruN glibc-2.9-orig/nptl/sysdeps/pthread/configure glibc-2.9/nptl/sysdeps/pthread/configure
  56. --- glibc-2.9-orig/nptl/sysdeps/pthread/configure 2009-02-26 22:28:17.000000000 +0100
  57. +++ glibc-2.9/nptl/sysdeps/pthread/configure 2010-03-31 10:46:03.000000000 +0200
  58. @@ -3,14 +3,14 @@
  59. if test "x$libc_cv_gcc___thread" != xyes; then
  60. { { echo "$as_me:$LINENO: error: compiler support for __thread is required" >&5
  61. echo "$as_me: error: compiler support for __thread is required" >&2;}
  62. - { (exit 1); exit 1; }; }
  63. + }
  64. fi
  65. if test "x${libc_cv_visibility_attribute}" != xyes ||
  66. test "x${libc_cv_broken_visibility_attribute}" != xno; then
  67. { { echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
  68. echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
  69. - { (exit 1); exit 1; }; }
  70. + }
  71. fi
  72. if test "x$libc_cv_asm_cfi_directives" != xyes; then
  73. @@ -18,7 +18,7 @@
  74. i386 | x86_64 | powerpc | s390)
  75. { { echo "$as_me:$LINENO: error: CFI directive support in assembler is required" >&5
  76. echo "$as_me: error: CFI directive support in assembler is required" >&2;}
  77. - { (exit 1); exit 1; }; } ;;
  78. + } ;;
  79. *) ;;
  80. esac
  81. fi