eglibc 2.16
v2 cover eglibc 2.16
V2:
Additionally, changed gcc to use git fetcher
update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc rpc patch needed for cross build from scratch
Updates the gets patch for busybox now its a backport instead of
home grown.
bitbake world works clean for ppc/x86/x86_64 , for mips and arm the failures are prexisting.
mips - webkit and pseudo fail to build
arm - guile-2.0 and pseudo fail to build
V1:
This patch adds eglibc 2.16 recipes. I was able to build world on x86 except perf which was failing with 2.15 as well.
I have also build and run core-image-sato on all qemus
I did not remove 2.15 to allow some soak in time.
The following changes since commit 8f16811a8d51982a8b3d70e6087aef4a41926840:
bootimg: Use STAGING_KERNEL_DIR (2012-07-06 09:38:17 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16
Khem Raj (19):
mirrors: Add debian archive snapshot mirrors to search list
gdb: Replace struct siginfo with proper siginfo_t
busybox: Include sys/resource.h for rusage definition
coreutils: Fix build with eglibc 2.16
diffutils: Fix build with eglibc 2.16
udev: Fix build with eglibc 2.16 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
bison: Fix for gets being removed from eglibc 2.16 grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
boost: Upgrade recipe to 1.50.0
puzzles: Fix checksums
valgrind: Fix build with eglibc 2.16
libpam: Fix build with eglibc 2.16
gcc-cross-initial.inc: Use BFD ld as default always
gcc: Switch to git SRC_URI
binutils: Backport the e5500/e6500 patches from mainline
gcc: Refresh support for fsl E5500/E6500
qemu: Explicitly add --disable-gl-accel when gl is not enabled
eglibc: Add recipes for 2.16 release
meta/classes/mirrors.bbclass | 4 +-
meta/recipes-bsp/grub/grub-1.99/remove-gets.patch | 20 +
meta/recipes-bsp/grub/grub_1.99.bb | 3 +-
.../busybox/busybox-1.19.4/sys_resource.patch | 99 +++
meta/recipes-core/busybox/busybox_1.19.4.bb | 3 +-
.../coreutils/coreutils-8.14/remove-gets.patch | 23 +
meta/recipes-core/coreutils/coreutils_8.14.bb | 3 +-
.../eglibc/cross-localedef-native_2.16.bb | 44 +
.../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch | 108 +++
.../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch | 17 +
.../eglibc-svn-arm-lowlevellock-include-tls.patch | 21 +
.../eglibc_fix_findidx_parameters.patch | 38 +
.../eglibc/eglibc-2.16/generate-supported.mk | 11 +
.../eglibc/eglibc-2.16/initgroups_keys.patch | 20 +
.../eglibc/eglibc-2.16/ld-search-order.patch | 56 ++
.../eglibc/eglibc-2.16/mips-rld-map-check.patch | 26 +
.../eglibc/eglibc-2.16/multilib_readlib.patch | 17 +
.../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch | 538 ++++++++++++
.../eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 112 +++
.../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch | 123 +++
.../eglibc/eglibc-2.16/rpc-bootstrap.patch | 63 ++
.../eglibc-2.16/use-sysroot-cxx-headers.patch | 42 +
meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 6 +
meta/recipes-core/eglibc/eglibc-locale_2.16.bb | 1 +
meta/recipes-core/eglibc/eglibc_2.16.bb | 146 ++++
.../gettext/gettext-0.18.1.1/remove_gets.patch | 58 ++
meta/recipes-core/gettext/gettext_0.18.1.1.bb | 3 +-
meta/recipes-core/udev/udev/include_resource.patch | 31 +
meta/recipes-core/udev/udev_164.bb | 7 +-
meta/recipes-devtools/binutils/binutils-2.22.inc | 2 +-
.../binutils/binutils/binutils-powerpc-e5500.patch | 918 +++++++++++++++++++-
.../recipes-devtools/bison/bison/remove-gets.patch | 20 +
meta/recipes-devtools/bison/bison_2.5.bb | 6 +-
meta/recipes-devtools/gcc/gcc-4.7.inc | 17 +-
.../gcc/gcc-4.7/define_insn_reservation.patch | 118 +++
.../gcc/gcc-4.7/ppc_with_cpu.patch | 752 ++++++++++++++++
...pc-e5500.patch => ppce5500-e6500-support.patch} | 560 ++++++++----
.../gcc/gcc-4.7/rs6000-tables.patch | 135 +++
meta/recipes-devtools/gcc/gcc-cross-initial.inc | 1 +
meta/recipes-devtools/gdb/gdb-common.inc | 2 +-
meta/recipes-devtools/gdb/gdb.inc | 1 +
meta/recipes-devtools/gdb/gdb/siginfo_t.patch | 403 +++++++++
.../recipes-devtools/guile/files/remove-gets.patch | 23 +
meta/recipes-devtools/guile/guile_2.0.5.bb | 3 +-
meta/recipes-devtools/m4/m4-1.4.16.inc | 6 +-
meta/recipes-devtools/m4/m4/remove-gets.patch | 21 +
meta/recipes-devtools/qemu/qemu.inc | 2 +-
.../valgrind-3.7.0/configure-with-glibc-2.16.patch | 32 +
meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | 6 +-
.../augeas/augeas/remove-gets.patch | 20 +
meta/recipes-extended/augeas/augeas_0.10.0.bb | 4 +-
.../cpio/cpio-2.11/remove-gets.patch | 20 +
meta/recipes-extended/cpio/cpio_2.11.bb | 5 +-
.../diffutils/diffutils-3.2/remove-gets.patch | 22 +
meta/recipes-extended/diffutils/diffutils_3.2.bb | 6 +-
.../pam/libpam/include-sys-resource.patch | 12 +
meta/recipes-extended/pam/libpam_1.1.5.bb | 6 +-
.../tar/tar-1.26/remove-gets.patch | 20 +
meta/recipes-extended/tar/tar_1.26.bb | 5 +-
.../wget/wget-1.13.4/remove-gets.patch | 23 +
meta/recipes-extended/wget/wget_1.13.4.bb | 3 +-
meta/recipes-sato/puzzles/puzzles_r9561.bb | 11 +-
.../boost/{boost_1.49.0.bb => boost_1.50.0.bb} | 5 +-
.../gnutls/gnutls/remove-gets.patch | 41 +
meta/recipes-support/gnutls/gnutls_2.12.20.bb | 3 +-
65 files changed, 4629 insertions(+), 248 deletions(-)
create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch
create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch
create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch
create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb
create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb
create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb
create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch
create mode 100644 meta/recipes-core/udev/udev/include_resource.patch
create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch
rename meta/recipes-devtools/gcc/gcc-4.7/{powerpc-e5500.patch => ppce5500-e6500-support.patch} (41%)
create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patch
create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch
create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch
create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch
create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch
create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch
create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch
create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch
create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch
create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch
rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%)
create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patchSignature · 1 line
1.7.9.5
PATCH 1/19 mirrors: Add debian archive snapshot mirrors to search list
I ran across this problem when apt 0.7.14 was not fetchable from regular debian mirrors and existing snapshot mirror did not have it either since we did not use proper syntax so it was not hitting that.
--- meta/classes/mirrors.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/classes/mirrors.bbclass +3 -1
@@ -1,5 +1,7 @@ MIRRORS += "\ -${DEBIAN_MIRROR}/main http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool/ \n \ +${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool \n \ +${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool \n \ +${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool \n \ ${DEBIAN_MIRROR} ftp://ftp.de.debian.org/debian/pool \n \ ${DEBIAN_MIRROR} ftp://ftp.au.debian.org/debian/pool \n \ ${DEBIAN_MIRROR} ftp://ftp.cl.debian.org/debian/pool \n \
Signature · 1 line
1.7.9.5
PATCH 2/19 gdb: Replace struct siginfo with proper siginfo_t
Fixes errors like
/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdb-7.4.1-r0.0/gdb-7.4.1/gdb/linux-nat.h:79:18:
error: field 'siginfo' has incomplete type
--- meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-devtools/gdb/gdb.inc | 1 + meta/recipes-devtools/gdb/gdb/siginfo_t.patch | 403 +++++++++++++++++++++++++ 3 files changed, 405 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch
meta/recipes-devtools/gdb/gdb-common.inc +1 -1
@@ -12,7 +12,7 @@ LTTNGUST_mips64 = "" LTTNGUST_mips64el = "" LTTNGUST_sh4 = "" -INC_PR = "r0" +INC_PR = "r1" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
meta/recipes-devtools/gdb/gdb.inc +1 -0
@@ -5,6 +5,7 @@ inherit gettext SRC_URI += "file://kill_arm_map_symbols.patch \ file://gdbserver-cflags-last.diff;striplevel=0 \ file://renesas-sh-native-support.patch \ + file://siginfo_t.patch \ " #LDFLAGS_append = " -s" #export CFLAGS_append=" -L${STAGING_LIBDIR}"
meta/recipes-devtools/gdb/gdb/siginfo_t.patch new file +403 -0
403 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH 3/19 busybox: Include sys/resource.h for rusage definition
In reply to Khem RajSeen with eglibc 2.16
--- .../busybox/busybox-1.19.4/sys_resource.patch | 99 ++++++++++++++++++++ meta/recipes-core/busybox/busybox_1.19.4.bb | 3 +- 2 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch
meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch new file +99 -0
@@ -0,0 +1,99 @@ +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending + +From c5fe9f7b723f949457263ef8e22ab807d5b549ce Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <[email protected]> +Date: Fri, 06 Jul 2012 03:19:09 +0000 +Subject: include sys/resource.h where needed + +We use functions from sys/resource.h in misc applets, but don't include +the header. This breaks building with newer glibc versions, so add the +include where needed. + +Signed-off-by: Mike Frysinger <[email protected]> +--- +Index: busybox-1.19.4/loginutils/passwd.c +=================================================================== +--- busybox-1.19.4.orig/loginutils/passwd.c 2012-02-04 11:34:24.000000000 -0800 ++++ busybox-1.19.4/loginutils/passwd.c 2012-07-06 17:48:27.388096092 -0700 +@@ -15,6 +15,7 @@ + + #include "libbb.h" + #include <syslog.h> ++#include <sys/resource.h> /* setrlimit */ + + static void nuke_str(char *str) + { +Index: busybox-1.19.4/miscutils/time.c +=================================================================== +--- busybox-1.19.4.orig/miscutils/time.c 2012-02-04 11:24:55.000000000 -0800 ++++ busybox-1.19.4/miscutils/time.c 2012-07-06 17:48:27.388096092 -0700 +@@ -16,6 +16,7 @@ + //usage: "\n -v Verbose" + + #include "libbb.h" ++#include <sys/resource.h> /* getrusage */ + + /* Information on the resources used by a child process. */ + typedef struct { +Index: busybox-1.19.4/networking/inetd.c +=================================================================== +--- busybox-1.19.4.orig/networking/inetd.c 2012-02-04 11:34:24.000000000 -0800 ++++ busybox-1.19.4/networking/inetd.c 2012-07-06 17:48:54.852097259 -0700 +@@ -165,6 +165,7 @@ + //usage: "\n (default: 0 - disabled)" + + #include <syslog.h> ++#include <sys/resource.h> /* setrlimit */ + #include <sys/un.h> + + #include "libbb.h" +Index: busybox-1.19.4/networking/ntpd.c +=================================================================== +--- busybox-1.19.4.orig/networking/ntpd.c 2012-02-04 11:24:55.000000000 -0800 ++++ busybox-1.19.4/networking/ntpd.c 2012-07-06 17:48:27.392096048 -0700 +@@ -46,6 +46,7 @@ + #include "libbb.h" + #include <math.h> + #include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */ ++#include <sys/resource.h> /* setpriority */ + #include <sys/timex.h> + #ifndef IPTOS_LOWDELAY + # define IPTOS_LOWDELAY 0x10 +Index: busybox-1.19.4/networking/ntpd_simple.c +=================================================================== +--- busybox-1.19.4.orig/networking/ntpd_simple.c 2012-02-04 11:24:55.000000000 -0800 ++++ busybox-1.19.4/networking/ntpd_simple.c 2012-07-06 17:48:27.400095949 -0700 +@@ -7,6 +7,7 @@ + */ + #include "libbb.h" + #include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */ ++#include <sys/resource.h> /* setpriority */ + #ifndef IPTOS_LOWDELAY + # define IPTOS_LOWDELAY 0x10 + #endif +Index: busybox-1.19.4/runit/chpst.c +=================================================================== +--- busybox-1.19.4.orig/runit/chpst.c 2012-02-04 11:34:24.000000000 -0800 ++++ busybox-1.19.4/runit/chpst.c 2012-07-06 17:48:27.400095949 -0700 +@@ -91,6 +91,7 @@ + //usage: "\n a SIGXCPU after N seconds" + + #include "libbb.h" ++#include <sys/resource.h> /* getrlimit */ + + /* + Five applets here: chpst, envdir, envuidgid, setuidgid, softlimit. +Index: busybox-1.19.4/shell/shell_common.c +=================================================================== +--- busybox-1.19.4.orig/shell/shell_common.c 2012-02-04 11:34:24.000000000 -0800 ++++ busybox-1.19.4/shell/shell_common.c 2012-07-06 17:48:27.400095949 -0700 +@@ -18,6 +18,7 @@ + */ + #include "libbb.h" + #include "shell_common.h" ++#include <sys/resource.h> /* getrlimit */ + + const char defifsvar[] ALIGN1 = "IFS= \t\n"; +
meta/recipes-core/busybox/busybox_1.19.4.bb +2 -1
@@ -1,5 +1,5 @@ require busybox.inc -PR = "r8" +PR = "r9" SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://B921600.patch \
@@ -8,6 +8,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://run-parts.in.usr-bin.patch \ file://watch.in.usr-bin.patch \ file://busybox-udhcpc-no_deconfig.patch \ + file://sys_resource.patch \ file://find-touchscreen.sh \ file://busybox-cron \ file://busybox-httpd \
Signature · 1 line
1.7.9.5
PATCH 4/19 coreutils: Fix build with eglibc 2.16
In reply to Khem Rajeglibc 2.16 has removed gets so we account for that
--- .../coreutils/coreutils-8.14/remove-gets.patch | 23 ++++++++++++++++++++ meta/recipes-core/coreutils/coreutils_8.14.bb | 3 ++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch new file +23 -0
@@ -0,0 +1,23 @@ +use gets iff its defined. eglibc 2.16 removed gets + +Signed-off-by: Khem Raj <[email protected]> +Upstream-Status: Pending + +Index: coreutils-8.14/lib/stdio.in.h +=================================================================== +--- coreutils-8.14.orig/lib/stdio.in.h 2011-09-24 04:20:48.000000000 -0700 ++++ coreutils-8.14/lib/stdio.in.h 2012-07-03 10:36:19.886296576 -0700 +@@ -713,11 +713,13 @@ + _GL_CXXALIAS_SYS (gets, char *, (char *s)); + # undef gets + # endif ++# if defined gets + _GL_CXXALIASWARN (gets); + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++# endif + #endif + +
meta/recipes-core/coreutils/coreutils_8.14.bb +2 -1
@@ -7,7 +7,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ file://src/ls.c;startline=5;endline=16;md5=e1a509558876db58fb6667ba140137ad" -PR = "r4" +PR = "r5" DEPENDS = "gmp libcap" DEPENDS_virtclass-native = ""
@@ -15,6 +15,7 @@ inherit autotools gettext SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ file://remove-usr-local-lib-from-m4.patch \ + file://remove-gets.patch \ " SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a" SRC_URI[sha256sum] = "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d"
Signature · 1 line
1.7.9.5
PATCH 5/19 diffutils: Fix build with eglibc 2.16
In reply to Khem Rajeglibc 2.16 has removed gets so we account for that
--- .../diffutils/diffutils-3.2/remove-gets.patch | 22 ++++++++++++++++++++ meta/recipes-extended/diffutils/diffutils_3.2.bb | 6 ++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch new file +22 -0
@@ -0,0 +1,22 @@ +check for gets before using it + +Signed-off-by: Khem Raj <[email protected]> +Upstream-Status: Pending +Index: diffutils-3.2/lib/stdio.in.h +=================================================================== +--- diffutils-3.2.orig/lib/stdio.in.h 2011-08-28 04:57:28.000000000 -0700 ++++ diffutils-3.2/lib/stdio.in.h 2012-07-03 10:45:07.518322117 -0700 +@@ -693,11 +693,13 @@ + _GL_CXXALIAS_SYS (gets, char *, (char *s)); + # undef gets + # endif ++# if defined gets + _GL_CXXALIASWARN (gets); + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++# endif + #endif + +
meta/recipes-extended/diffutils/diffutils_3.2.bb +4 -2
@@ -5,9 +5,11 @@ SECTION = "base" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -PR = "r0" +PR = "r1" -SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz" +SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz \ + file://remove-gets.patch \ + " inherit autotools update-alternatives gettext
Signature · 1 line
1.7.9.5
PATCH 6/19 udev: Fix build with eglibc 2.16
In reply to Khem RajInclude sys/resource.h to get definition ofPRIO_PROCESS
--- meta/recipes-core/udev/udev/include_resource.patch | 31 ++++++++++++++++++++ meta/recipes-core/udev/udev_164.bb | 7 +++-- 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-core/udev/udev/include_resource.patch
meta/recipes-core/udev/udev/include_resource.patch new file +31 -0
@@ -0,0 +1,31 @@ +Fixes errors like below with eglibc 2.16 + +libudev/libudev-util-private.c:348:16: error: 'PRIO_PROCESS' undeclared (first use in this function) + +Signed-off-by: Khem Raj <[email protected]> +Upstream-Status: Pending + +Index: udev-164/libudev/libudev-util-private.c +=================================================================== +--- udev-164.orig/libudev/libudev-util-private.c 2010-08-03 02:42:26.000000000 -0700 ++++ udev-164/libudev/libudev-util-private.c 2012-07-03 10:53:35.082346684 -0700 +@@ -21,6 +21,7 @@ + #include <grp.h> + #include <sys/wait.h> + #include <sys/param.h> ++#include <sys/resource.h> + + #include "libudev.h" + #include "libudev-private.h" +Index: udev-164/udev/udevd.c +=================================================================== +--- udev-164.orig/udev/udevd.c 2010-10-13 04:08:29.000000000 -0700 ++++ udev-164/udev/udevd.c 2012-07-03 10:53:19.214345914 -0700 +@@ -43,6 +43,7 @@ + #include <sys/ioctl.h> + #include <sys/inotify.h> + #include <sys/utsname.h> ++#include <sys/resource.h> + + #include "udev.h" + #include "sd-daemon.h"
meta/recipes-core/udev/udev_164.bb +4 -3
@@ -1,8 +1,9 @@ include udev.inc -PR = "r13" - -SRC_URI += "file://udev-166-v4l1-1.patch" +PR = "r14" +SRC_URI += "file://udev-166-v4l1-1.patch \ + file://include_resource.patch \ + " SRC_URI[md5sum] = "fddac2d54761ea34865af9467377ca9f" SRC_URI[sha256sum] = "c12e66280b5e1465f6587a8cfa47d7405c4caa7e52ce5dd13478d04f6ec05e5c"
Signature · 1 line
1.7.9.5
PATCH 7/19 gettext, m4, augeas, gnutls: Account for removal of gets in eglibc 2.16
In reply to Khem RajThese recipes use gnulib which needs this change to use gets when its defined and not otherwise. Until that change goes into gnulib and then all these package upgrade gnulib in their sourcebase we patch them
--- .../gettext/gettext-0.18.1.1/remove_gets.patch | 58 ++++++++++++++++++++ meta/recipes-core/gettext/gettext_0.18.1.1.bb | 3 +- meta/recipes-devtools/m4/m4-1.4.16.inc | 6 +- meta/recipes-devtools/m4/m4/remove-gets.patch | 21 +++++++ .../augeas/augeas/remove-gets.patch | 20 +++++++ meta/recipes-extended/augeas/augeas_0.10.0.bb | 4 +- .../gnutls/gnutls/remove-gets.patch | 41 ++++++++++++++ meta/recipes-support/gnutls/gnutls_2.12.20.bb | 3 +- 8 files changed, 151 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patch
meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch new file +58 -0
@@ -0,0 +1,58 @@ +eglibc 2.16 has removed gets so we need to check for it +being there before using it. + + +From glibc stdio.h + +The function has been officially removed in ISO C11. This opportunity + is used to also remove it from the GNU feature list. It is now only + available when explicitly using an old ISO C, Unix, or POSIX standard. + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h +=================================================================== +--- gettext-0.18.1.1.orig/gettext-runtime/gnulib-lib/stdio.in.h 2010-05-17 12:56:12.000000000 -0700 ++++ gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h 2012-07-02 22:42:21.292223316 -0700 +@@ -140,8 +140,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ +Index: gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h +=================================================================== +--- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/stdio.in.h 2010-05-24 02:42:46.000000000 -0700 ++++ gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h 2012-07-02 23:02:33.476281979 -0700 +@@ -140,8 +140,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ +Index: gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h +=================================================================== +--- gettext-0.18.1.1.orig/gettext-tools/libgettextpo/stdio.in.h 2010-05-17 12:58:03.000000000 -0700 ++++ gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h 2012-07-02 23:01:57.440280253 -0700 +@@ -140,8 +140,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@
meta/recipes-core/gettext/gettext_0.18.1.1.bb +2 -1
@@ -5,7 +5,7 @@ SECTION = "libs" LICENSE = "GPLv3+ & LGPL-2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -PR = "r14" +PR = "r15" DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat" DEPENDS_virtclass-native = "libxml2-native gettext-minimal-native" PROVIDES = "virtual/libintl virtual/gettext"
@@ -13,6 +13,7 @@ PROVIDES_virtclass-native = "virtual/gettext-native" RCONFLICTS_${PN} = "proxy-libintl" SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ file://parallel.patch \ + file://remove_gets.patch \ " SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \
meta/recipes-devtools/m4/m4-1.4.16.inc +4 -2
@@ -5,8 +5,10 @@ LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d" -PR = "r3" -SRC_URI += "file://ac_config_links.patch" +PR = "r4" +SRC_URI += "file://ac_config_links.patch \ + file://remove-gets.patch \ + " SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280" SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da"
meta/recipes-devtools/m4/m4/remove-gets.patch new file +21 -0
@@ -0,0 +1,21 @@ +eglibc has remove gets starting 2.16 +therefore check for its being there before +undefining it. + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> +Index: m4-1.4.16/lib/stdio.in.h +=================================================================== +--- m4-1.4.16.orig/lib/stdio.in.h 2011-03-01 08:39:29.000000000 -0800 ++++ m4-1.4.16/lib/stdio.in.h 2012-07-03 08:32:08.145935928 -0700 +@@ -161,8 +161,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@
meta/recipes-extended/augeas/augeas/remove-gets.patch new file +20 -0
@@ -0,0 +1,20 @@ +eglibc 2.16 has remove gets so check for it to be there before using it + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: augeas-0.10.0/gnulib/lib/stdio.in.h +=================================================================== +--- augeas-0.10.0.orig/gnulib/lib/stdio.in.h 2011-03-03 17:07:59.000000000 -0800 ++++ augeas-0.10.0/gnulib/lib/stdio.in.h 2012-07-03 19:46:42.871894833 -0700 +@@ -161,8 +161,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@
meta/recipes-extended/augeas/augeas_0.10.0.bb +3 -1
@@ -1,6 +1,8 @@ require augeas.inc -PR = "r2" +SRC_URI += "file://remove-gets.patch \ + " +PR = "r3" SRC_URI[md5sum] = "fe1834e90a066c3208ac0214622c7352" SRC_URI[sha256sum] = "ec111af06186216930176ebe5ecccdf7bf528528aee9acde1d5d70088484afca"
meta/recipes-support/gnutls/gnutls/remove-gets.patch new file +41 -0
41 lines not on this page · raw message
meta/recipes-support/gnutls/gnutls_2.12.20.bb +2 -1
@@ -1,10 +1,11 @@ require gnutls.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI += "file://gnutls-openssl.patch \ file://correct_rpl_gettimeofday_signature.patch \ file://configure-fix.patch \ + file://remove-gets.patch \ " SRC_URI[md5sum] = "f1dea97da5d4dcdbc675720c9aad9ee3"
Signature · 1 line
1.7.9.5
PATCH 8/19 bison: Fix for gets being removed from eglibc 2.16
In reply to Khem Raj--- .../recipes-devtools/bison/bison/remove-gets.patch | 20 ++++++++++++++++++++ meta/recipes-devtools/bison/bison_2.5.bb | 6 ++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch
meta/recipes-devtools/bison/bison/remove-gets.patch new file +20 -0
@@ -0,0 +1,20 @@ +gets has been removed from eglibc 2.16 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: bison-2.5/lib/stdio.in.h +=================================================================== +--- bison-2.5.orig/lib/stdio.in.h 2012-07-04 09:09:48.336532195 -0700 ++++ bison-2.5/lib/stdio.in.h 2012-07-04 09:10:22.868533884 -0700 +@@ -180,8 +180,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@
meta/recipes-devtools/bison/bison_2.5.bb +4 -2
@@ -9,14 +9,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SECTION = "devel" DEPENDS = "bison-native flex-native" -PR = "r1" +PR = "r2" BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ file://m4.patch \ " SRC_URI = "${BASE_SRC_URI} \ - file://fix_cross_manpage_building.patch " + file://fix_cross_manpage_building.patch \ + file://remove-gets.patch \ + " SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4" SRC_URI[sha256sum] = "722def46e4a19a5b7a579ef30db1965f86c37c1a20a5f0113743a2e4399f7c99"
Signature · 1 line
1.7.9.5
Re: [PATCH 08/19] bison: Fix for gets being removed from eglibc 2.16
Quoted 46 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- .../recipes-devtools/bison/bison/remove-gets.patch | 20 ++++++++++++++++++++ meta/recipes-devtools/bison/bison_2.5.bb | 6 ++++-- 2 files changed, 24 insertions(+), 2 deletions(-)create mode 100644
meta/recipes-devtools/bison/bison/remove-gets.patchmeta/recipes-devtools/bison/bison/remove-gets.patch new file +20
-0@@ -0,0 +1,20 @@ +gets has been removed from eglibc 2.16 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: bison-2.5/lib/stdio.in.h +=================================================================== +--- bison-2.5.orig/lib/stdio.in.h 2012-07-04 09:09:48.336532195 -0700 ++++ bison-2.5/lib/stdio.in.h 2012-07-04 09:10:22.868533884 -0700 +@@ -180,8 +180,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@meta/recipes-devtools/bison/bison_2.5.bb +1
-1@@ -9,14 +9,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SECTION = "devel" DEPENDS = "bison-native flex-native" -PR = "r1" +PR = "r2" BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ file://m4.patch \
meta/recipes-devtools/bison/bison_2.5.bb LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" · line 24
Quoted 10 lines
meta/recipes-devtools/bison/bison_2.5.bb +3
-1" SRC_URI = "${BASE_SRC_URI} \ - file://fix_cross_manpage_building.patch " + file://fix_cross_manpage_building.patch \ + file://remove-gets.patch \ + " SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4" SRC_URI[sha256sum] = "722def46e4a19a5b7a579ef30db1965f86c37c1a20a5f0113743a2e4399f7c99"
Hi Khem,
This patch doesn't fix the Bison gets issue for me, I had to create a patch that removed the line altogether to get it to compile successfully. Even though gets isn't present on my system it still matches the #if defined gets and tries to #undef gets which results in an error.
However, I don't think removing the line altogether is the correct fix for the global userbase...
Regards,
Jack.
Re: [PATCH 08/19] bison: Fix for gets being removed from eglibc 2.16
Quoted 64 lines · Jack Mitchell
Quoted 58 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- .../recipes-devtools/bison/bison/remove-gets.patch | 20 ++++++++++++++++++++ meta/recipes-devtools/bison/bison_2.5.bb | 6 ++++-- 2 files changed, 24 insertions(+), 2 deletions(-)create mode 100644
meta/recipes-devtools/bison/bison/remove-gets.patchmeta/recipes-devtools/bison/bison/remove-gets.patch new file +20
-1@@ -0,0 +1,20 @@ +gets has been removed from eglibc 2.16 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: bison-2.5/lib/stdio.in.h +=================================================================== +--- bison-2.5.orig/lib/stdio.in.h 2012-07-04 09:09:48.336532195 -0700 ++++ bison-2.5/lib/stdio.in.h 2012-07-04 09:10:22.868533884 -0700 +@@ -180,8 +180,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@meta/recipes-devtools/bison/bison_2.5.bb +0
-0@@ -9,14 +9,16 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SECTION = "devel"
DEPENDS = "bison-native flex-native"
-PR = "r1"meta/recipes-devtools/bison/bison_2.5.bb +4
-1+PR = "r2" BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ file://m4.patch \ " SRC_URI = "${BASE_SRC_URI} \ - file://fix_cross_manpage_building.patch " + file://fix_cross_manpage_building.patch \ + file://remove-gets.patch \ + " SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4" SRC_URI[sha256sum] =Quoted 1 line
"
722def46e4a19a5b7a579ef30db1965f86c37c1a20a5f0113743a2e4399f7c99"Hi Khem,
Quoted 8 lines
This patch doesn't fix the Bison gets issue for me, I had to create a patch that removed the line altogether to get it to compile successfully. Even though gets isn't present on my system it still matches the #if defined gets and tries to #undef gets which results in an error.
However, I don't think removing the line altogether is the correct fix for the global userbase...
send me the preprocessed output.
Quoted 7 lines
Regards,
Jack._______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 08/19] bison: Fix for gets being removed from eglibc 2.16
Quoted 70 lines · Khem Raj
Quoted 69 lines · Jack Mitchell
Quoted 58 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- .../recipes-devtools/bison/bison/remove-gets.patch | 20 ++++++++++++++++++++ meta/recipes-devtools/bison/bison_2.5.bb | 6 ++++-- 2 files changed, 24 insertions(+), 2 deletions(-)create mode 100644
meta/recipes-devtools/bison/bison/remove-gets.patchmeta/recipes-devtools/bison/bison/remove-gets.patch new file +20
-1@@ -0,0 +1,20 @@ +gets has been removed from eglibc 2.16 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: bison-2.5/lib/stdio.in.h +=================================================================== +--- bison-2.5.orig/lib/stdio.in.h 2012-07-04 09:09:48.336532195 -0700 ++++ bison-2.5/lib/stdio.in.h 2012-07-04 09:10:22.868533884 -0700 +@@ -180,8 +180,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@meta/recipes-devtools/bison/bison_2.5.bb +0
-0@@ -9,14 +9,16 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SECTION = "devel"
DEPENDS = "bison-native flex-native"
-PR = "r1"meta/recipes-devtools/bison/bison_2.5.bb +4
-1+PR = "r2" BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ file://m4.patch \ " SRC_URI = "${BASE_SRC_URI} \ - file://fix_cross_manpage_building.patch " + file://fix_cross_manpage_building.patch \ + file://remove-gets.patch \ + " SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4" SRC_URI[sha256sum] =Quoted 1 line
"
722def46e4a19a5b7a579ef30db1965f86c37c1a20a5f0113743a2e4399f7c99"Hi Khem,
This patch doesn't fix the Bison gets issue for me, I had to create a patch that removed the line altogether to get it to compile successfully. Even though gets isn't present on my system it still matches the #if defined gets and tries to #undef gets which results in an error.
Quoted 5 lines
Quoted 3 lines
However, I don't think removing the line altogether is the correct fix for the global userbase...
send me the preprocessed output.
I'm not sure quite what you mean by pre-processed output but here is my do_compile log which is where it fails.
Attached(1)
Regards,
Jack
Quoted 9 lines
Quoted 9 lines
Regards,
Jack._______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
DEBUG: Executing shell function do_compile
NOTE: make -j 4
echo 2.5 > .version-t && mv .version-t .version
make all-recursive
make[1]: Entering directory `/mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5' Making all in build-aux
make[2]: Entering directory /mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/build-aux' make[2]: Nothing to be done for all'.
make[2]: Leaving directory `/mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/build-aux' Making all in po
make[2]: Entering directory /mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/po' make[2]: Leaving directory /mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/po' Making all in runtime-po
make[2]: Entering directory /mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/runtime-po' make[2]: Leaving directory /mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/runtime-po' Making all in lib
make[2]: Entering directory `/mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/lib' rm -f alloca.h-t alloca.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat ./alloca.in.h; \
} > alloca.h-t && \
mv -f alloca.h-t alloca.h
rm -f arg-nonnull.h-t arg-nonnull.h && \
sed -n -e '/GL_ARG_NONNULL/,$p' \
< ../build-aux/arg-nonnull.h \
Quoted 1 line
arg-nonnull.h-t && \
mv arg-nonnull.h-t arg-nonnull.h
rm -f c++defs.h-t c++defs.h && \
sed -n -e '/_GL_CXXDEFS/,$p' \
< ../build-aux/c++defs.h \
Quoted 1 line
c++defs.h-t && \
mv c++defs.h-t c++defs.h
rm -f configmake.h-t && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr"'; \
echo '#define EXEC_PREFIX "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr"'; \
echo '#define BINDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/bin"'; \
echo '#define SBINDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/sbin"'; \
echo '#define LIBEXECDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/libexec"'; \
echo '#define DATAROOTDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share"'; \
echo '#define DATADIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share"'; \
echo '#define SYSCONFDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/etc"'; \
echo '#define SHAREDSTATEDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/com"'; \
echo '#define LOCALSTATEDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/var"'; \
echo '#define INCLUDEDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include"'; \
echo '#define OLDINCLUDEDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include"'; \
echo '#define DOCDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/doc/bison"'; \
echo '#define INFODIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/info"'; \
echo '#define HTMLDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/doc/bison"'; \
echo '#define DVIDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/doc/bison"'; \
echo '#define PDFDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/doc/bison"'; \
echo '#define PSDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/doc/bison"'; \
echo '#define LIBDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/lib"'; \
echo '#define LISPDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/emacs/site-lisp"'; \
echo '#define LOCALEDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/locale"'; \
echo '#define MANDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/share/bison"'; \
echo '#define PKGINCLUDEDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include/bison"'; \
echo '#define PKGLIBDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/lib/bison"'; \
echo '#define PKGLIBEXECDIR "/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/libexec/bison"'; \
} | sed '/""/d' > configmake.h-t && \
if test -f configmake.h && cmp configmake.h-t configmake.h > /dev/null; then \
rm -f configmake.h-t; \
else \
rm -f configmake.h; mv configmake.h-t configmake.h; \
fi
rm -f warn-on-use.h-t warn-on-use.h && \
sed -n -e '/^.ifndef/,$p' \
< ../build-aux/warn-on-use.h \
Quoted 1 line
warn-on-use.h-t && \
mv warn-on-use.h-t warn-on-use.h
rm -f unitypes.h-t unitypes.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat ./unitypes.in.h; \
} > unitypes.h-t && \
mv -f unitypes.h-t unitypes.h
rm -f uniwidth.h-t uniwidth.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat ./uniwidth.in.h; \
} > uniwidth.h-t && \
mv -f uniwidth.h-t uniwidth.h
rm -f fcntl.h-t fcntl.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_FCNTL_H''@|<fcntl.h>|g' \
-e 's|@''GNULIB_FCNTL''@|1|g' \
-e 's|@''GNULIB_NONBLOCKING''@|1|g' \
-e 's|@''GNULIB_OPEN''@|1|g' \
-e 's|@''GNULIB_OPENAT''@|0|g' \
-e 's|@''HAVE_FCNTL''@|1|g' \
-e 's|@''HAVE_OPENAT''@|1|g' \
-e 's|@''REPLACE_FCNTL''@|1|g' \
-e 's|@''REPLACE_OPEN''@|0|g' \
-e 's|@''REPLACE_OPENAT''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./fcntl.in.h; \
} > fcntl.h-t && \
mv fcntl.h-t fcntl.h
rm -f inttypes.h-t inttypes.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's/@''HAVE_INTTYPES_H''@/1/g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_INTTYPES_H''@|<inttypes.h>|g' \
-e 's/@''PRI_MACROS_BROKEN''@/0/g' \
-e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \
-e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
-e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \
-e 's/@''PRIPTR_PREFIX''@/"l"/g' \
-e 's/@''GNULIB_IMAXABS''@/0/g' \
-e 's/@''GNULIB_IMAXDIV''@/0/g' \
-e 's/@''GNULIB_STRTOIMAX''@/0/g' \
-e 's/@''GNULIB_STRTOUMAX''@/0/g' \
-e 's/@''HAVE_DECL_IMAXABS''@/1/g' \
-e 's/@''HAVE_DECL_IMAXDIV''@/1/g' \
-e 's/@''HAVE_DECL_STRTOIMAX''@/1/g' \
-e 's/@''HAVE_DECL_STRTOUMAX''@/1/g' \
-e 's/@''INT32_MAX_LT_INTMAX_MAX''@/1/g' \
-e 's/@''INT64_MAX_EQ_LONG_MAX''@/1/g' \
-e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/1/g' \
-e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/1/g' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./inttypes.in.h; \
} > inttypes.h-t && \
mv inttypes.h-t inttypes.h
rm -f math.h-t math.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|<math.h>|g' \
-e 's|@''GNULIB_ACOSL''@|0|g' \
-e 's|@''GNULIB_ASINL''@|0|g' \
-e 's|@''GNULIB_ATANL''@|0|g' \
-e 's|@''GNULIB_CEIL''@|0|g' \
-e 's|@''GNULIB_CEILF''@|0|g' \
-e 's|@''GNULIB_CEILL''@|0|g' \
-e 's|@''GNULIB_COSL''@|0|g' \
-e 's|@''GNULIB_EXPL''@|0|g' \
-e 's|@''GNULIB_FLOOR''@|0|g' \
-e 's|@''GNULIB_FLOORF''@|0|g' \
-e 's|@''GNULIB_FLOORL''@|0|g' \
-e 's|@''GNULIB_FREXP''@|1|g' \
-e 's|@''GNULIB_FREXPL''@|1|g' \
-e 's|@''GNULIB_ISFINITE''@|0|g' \
-e 's|@''GNULIB_ISINF''@|0|g' \
-e 's|@''GNULIB_ISNAN''@|1|g' \
-e 's|@''GNULIB_ISNANF''@|1|g' \
-e 's|@''GNULIB_ISNAND''@|1|g' \
-e 's|@''GNULIB_ISNANL''@|1|g' \
-e 's|@''GNULIB_LDEXPL''@|1|g' \
-e 's|@''GNULIB_LOGB''@|0|g' \
-e 's|@''GNULIB_LOGL''@|0|g' \
-e 's|@''GNULIB_ROUND''@|0|g' \
-e 's|@''GNULIB_ROUNDF''@|0|g' \
-e 's|@''GNULIB_ROUNDL''@|0|g' \
-e 's|@''GNULIB_SIGNBIT''@|1|g' \
-e 's|@''GNULIB_SINL''@|0|g' \
-e 's|@''GNULIB_SQRTL''@|0|g' \
-e 's|@''GNULIB_TANL''@|0|g' \
-e 's|@''GNULIB_TRUNC''@|0|g' \
-e 's|@''GNULIB_TRUNCF''@|0|g' \
-e 's|@''GNULIB_TRUNCL''@|0|g' \
< ./math.in.h | \
sed -e 's|@''HAVE_ACOSL''@|1|g' \
-e 's|@''HAVE_ASINL''@|1|g' \
-e 's|@''HAVE_ATANL''@|1|g' \
-e 's|@''HAVE_COSL''@|1|g' \
-e 's|@''HAVE_EXPL''@|1|g' \
-e 's|@''HAVE_ISNANF''@|1|g' \
-e 's|@''HAVE_ISNAND''@|1|g' \
-e 's|@''HAVE_ISNANL''@|0|g' \
-e 's|@''HAVE_LOGL''@|1|g' \
-e 's|@''HAVE_SINL''@|1|g' \
-e 's|@''HAVE_SQRTL''@|1|g' \
-e 's|@''HAVE_TANL''@|1|g' \
-e 's|@''HAVE_DECL_ACOSL''@|1|g' \
-e 's|@''HAVE_DECL_ASINL''@|1|g' \
-e 's|@''HAVE_DECL_ATANL''@|1|g' \
-e 's|@''HAVE_DECL_CEILF''@|1|g' \
-e 's|@''HAVE_DECL_CEILL''@|1|g' \
-e 's|@''HAVE_DECL_COSL''@|1|g' \
-e 's|@''HAVE_DECL_EXPL''@|1|g' \
-e 's|@''HAVE_DECL_FLOORF''@|1|g' \
-e 's|@''HAVE_DECL_FLOORL''@|1|g' \
-e 's|@''HAVE_DECL_FREXPL''@|1|g' \
-e 's|@''HAVE_DECL_LDEXPL''@|1|g' \
-e 's|@''HAVE_DECL_LOGB''@|1|g' \
-e 's|@''HAVE_DECL_LOGL''@|1|g' \
-e 's|@''HAVE_DECL_ROUND''@|1|g' \
-e 's|@''HAVE_DECL_ROUNDF''@|1|g' \
-e 's|@''HAVE_DECL_ROUNDL''@|1|g' \
-e 's|@''HAVE_DECL_SINL''@|1|g' \
-e 's|@''HAVE_DECL_SQRTL''@|1|g' \
-e 's|@''HAVE_DECL_TANL''@|1|g' \
-e 's|@''HAVE_DECL_TRUNC''@|1|g' \
-e 's|@''HAVE_DECL_TRUNCF''@|1|g' \
-e 's|@''HAVE_DECL_TRUNCL''@|1|g' \
| \
sed -e 's|@''REPLACE_CEIL''@|0|g' \
-e 's|@''REPLACE_CEILF''@|0|g' \
-e 's|@''REPLACE_CEILL''@|0|g' \
-e 's|@''REPLACE_FLOOR''@|0|g' \
-e 's|@''REPLACE_FLOORF''@|0|g' \
-e 's|@''REPLACE_FLOORL''@|0|g' \
-e 's|@''REPLACE_FREXP''@|0|g' \
-e 's|@''REPLACE_FREXPL''@|0|g' \
-e 's|@''REPLACE_HUGE_VAL''@|0|g' \
-e 's|@''REPLACE_ISFINITE''@|0|g' \
-e 's|@''REPLACE_ISINF''@|0|g' \
-e 's|@''REPLACE_ISNAN''@|1|g' \
-e 's|@''REPLACE_LDEXPL''@|0|g' \
-e 's|@''REPLACE_NAN''@|0|g' \
-e 's|@''REPLACE_ROUND''@|0|g' \
-e 's|@''REPLACE_ROUNDF''@|0|g' \
-e 's|@''REPLACE_ROUNDL''@|0|g' \
-e 's|@''REPLACE_SIGNBIT''@|0|g' \
-e 's|@''REPLACE_SIGNBIT_USING_GCC''@|1|g' \
-e 's|@''REPLACE_TRUNC''@|0|g' \
-e 's|@''REPLACE_TRUNCF''@|0|g' \
-e 's|@''REPLACE_TRUNCL''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > math.h-t && \
mv math.h-t math.h
rm -f signal.h-t signal.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_SIGNAL_H''@|<signal.h>|g' \
-e 's|@''GNULIB_SIGNAL_H_SIGPIPE''@|0|g' \
-e 's|@''GNULIB_SIGPROCMASK''@|1|g' \
-e 's|@''GNULIB_SIGACTION''@|1|g' \
-e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|1|g' \
-e 's|@''HAVE_SIGSET_T''@|1|g' \
-e 's|@''HAVE_SIGINFO_T''@|1|g' \
-e 's|@''HAVE_SIGACTION''@|1|g' \
-e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|1|g' \
-e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|1|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./signal.in.h; \
} > signal.h-t && \
mv signal.h-t signal.h
rm -f spawn.h-t spawn.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_SPAWN_H''@|1|g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_SPAWN_H''@|<spawn.h>|g' \
-e 's|@''GNULIB_POSIX_SPAWN''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNP''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_INIT''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETFLAGS''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETFLAGS''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETPGROUP''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETPGROUP''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETSIGMASK''@|0|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETSIGMASK''@|1|g' \
-e 's|@''GNULIB_POSIX_SPAWNATTR_DESTROY''@|1|g' \
-e 's|@''HAVE_POSIX_SPAWN''@|1|g' \
-e 's|@''HAVE_POSIX_SPAWNATTR_T''@|1|g' \
-e 's|@''HAVE_POSIX_SPAWN_FILE_ACTIONS_T''@|1|g' \
-e 's|@''REPLACE_POSIX_SPAWN''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./spawn.in.h; \
} > spawn.h-t && \
mv spawn.h-t spawn.h
rm -f stdio.h-t stdio.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_STDIO_H''@|<stdio.h>|g' \
-e 's|@''GNULIB_DPRINTF''@|0|g' \
-e 's|@''GNULIB_FCLOSE''@|1|g' \
-e 's|@''GNULIB_FFLUSH''@|0|g' \
-e 's|@''GNULIB_FOPEN''@|1|g' \
-e 's|@''GNULIB_FPRINTF''@|1|g' \
-e 's|@''GNULIB_FPRINTF_POSIX''@|1|g' \
-e 's|@''GNULIB_FPURGE''@|0|g' \
-e 's|@''GNULIB_FPUTC''@|1|g' \
-e 's|@''GNULIB_FPUTS''@|1|g' \
-e 's|@''GNULIB_FREOPEN''@|0|g' \
-e 's|@''GNULIB_FSEEK''@|0|g' \
-e 's|@''GNULIB_FSEEKO''@|0|g' \
-e 's|@''GNULIB_FTELL''@|0|g' \
-e 's|@''GNULIB_FTELLO''@|0|g' \
-e 's|@''GNULIB_FWRITE''@|1|g' \
-e 's|@''GNULIB_GETDELIM''@|0|g' \
-e 's|@''GNULIB_GETLINE''@|0|g' \
-e 's|@''GNULIB_OBSTACK_PRINTF''@|0|g' \
-e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|0|g' \
-e 's|@''GNULIB_PERROR''@|1|g' \
-e 's|@''GNULIB_POPEN''@|0|g' \
-e 's|@''GNULIB_PRINTF''@|1|g' \
-e 's|@''GNULIB_PRINTF_POSIX''@|1|g' \
-e 's|@''GNULIB_PUTC''@|1|g' \
-e 's|@''GNULIB_PUTCHAR''@|1|g' \
-e 's|@''GNULIB_PUTS''@|1|g' \
-e 's|@''GNULIB_REMOVE''@|0|g' \
-e 's|@''GNULIB_RENAME''@|0|g' \
-e 's|@''GNULIB_RENAMEAT''@|0|g' \
-e 's|@''GNULIB_SNPRINTF''@|1|g' \
-e 's|@''GNULIB_SPRINTF_POSIX''@|1|g' \
-e 's|@''GNULIB_STDIO_H_SIGPIPE''@|0|g' \
-e 's|@''GNULIB_TMPFILE''@|0|g' \
-e 's|@''GNULIB_VASPRINTF''@|0|g' \
-e 's|@''GNULIB_VDPRINTF''@|0|g' \
-e 's|@''GNULIB_VFPRINTF''@|1|g' \
-e 's|@''GNULIB_VFPRINTF_POSIX''@|1|g' \
-e 's|@''GNULIB_VPRINTF''@|1|g' \
-e 's|@''GNULIB_VPRINTF_POSIX''@|0|g' \
-e 's|@''GNULIB_VSNPRINTF''@|1|g' \
-e 's|@''GNULIB_VSPRINTF_POSIX''@|1|g' \
< ./stdio.in.h | \
sed -e 's|@''HAVE_DECL_FPURGE''@|1|g' \
-e 's|@''HAVE_DECL_FSEEKO''@|1|g' \
-e 's|@''HAVE_DECL_FTELLO''@|1|g' \
-e 's|@''HAVE_DECL_GETDELIM''@|1|g' \
-e 's|@''HAVE_DECL_GETLINE''@|1|g' \
-e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|1|g' \
-e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \
-e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \
-e 's|@''HAVE_DPRINTF''@|1|g' \
-e 's|@''HAVE_FSEEKO''@|1|g' \
-e 's|@''HAVE_FTELLO''@|1|g' \
-e 's|@''HAVE_RENAMEAT''@|1|g' \
-e 's|@''HAVE_VASPRINTF''@|1|g' \
-e 's|@''HAVE_VDPRINTF''@|1|g' \
-e 's|@''REPLACE_DPRINTF''@|0|g' \
-e 's|@''REPLACE_FCLOSE''@|0|g' \
-e 's|@''REPLACE_FFLUSH''@|0|g' \
-e 's|@''REPLACE_FOPEN''@|0|g' \
-e 's|@''REPLACE_FPRINTF''@|1|g' \
-e 's|@''REPLACE_FPURGE''@|0|g' \
-e 's|@''REPLACE_FREOPEN''@|0|g' \
-e 's|@''REPLACE_FSEEK''@|0|g' \
-e 's|@''REPLACE_FSEEKO''@|0|g' \
-e 's|@''REPLACE_FTELL''@|0|g' \
-e 's|@''REPLACE_FTELLO''@|0|g' \
-e 's|@''REPLACE_GETDELIM''@|0|g' \
-e 's|@''REPLACE_GETLINE''@|0|g' \
-e 's|@''REPLACE_OBSTACK_PRINTF''@|0|g' \
-e 's|@''REPLACE_PERROR''@|0|g' \
-e 's|@''REPLACE_POPEN''@|0|g' \
-e 's|@''REPLACE_PRINTF''@|1|g' \
-e 's|@''REPLACE_REMOVE''@|0|g' \
-e 's|@''REPLACE_RENAME''@|0|g' \
-e 's|@''REPLACE_RENAMEAT''@|0|g' \
-e 's|@''REPLACE_SNPRINTF''@|1|g' \
-e 's|@''REPLACE_SPRINTF''@|1|g' \
-e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|0|g' \
-e 's|@''REPLACE_TMPFILE''@|0|g' \
-e 's|@''REPLACE_VASPRINTF''@|0|g' \
-e 's|@''REPLACE_VDPRINTF''@|0|g' \
-e 's|@''REPLACE_VFPRINTF''@|1|g' \
-e 's|@''REPLACE_VPRINTF''@|0|g' \
-e 's|@''REPLACE_VSNPRINTF''@|1|g' \
-e 's|@''REPLACE_VSPRINTF''@|1|g' \
-e 's|@''ASM_SYMBOL_PREFIX''@|""|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > stdio.h-t && \
mv stdio.h-t stdio.h
rm -f stdlib.h-t stdlib.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \
-e 's|@''GNULIB__EXIT''@|0|g' \
-e 's|@''GNULIB_ATOLL''@|0|g' \
-e 's|@''GNULIB_CALLOC_POSIX''@|1|g' \
-e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|0|g' \
-e 's|@''GNULIB_GETLOADAVG''@|0|g' \
-e 's|@''GNULIB_GETSUBOPT''@|0|g' \
-e 's|@''GNULIB_GRANTPT''@|0|g' \
-e 's|@''GNULIB_MALLOC_POSIX''@|1|g' \
-e 's|@''GNULIB_MBTOWC''@|0|g' \
-e 's|@''GNULIB_MKDTEMP''@|0|g' \
-e 's|@''GNULIB_MKOSTEMP''@|0|g' \
-e 's|@''GNULIB_MKOSTEMPS''@|0|g' \
-e 's|@''GNULIB_MKSTEMP''@|0|g' \
-e 's|@''GNULIB_MKSTEMPS''@|0|g' \
-e 's|@''GNULIB_PTSNAME''@|0|g' \
-e 's|@''GNULIB_PUTENV''@|0|g' \
-e 's|@''GNULIB_RANDOM_R''@|0|g' \
-e 's|@''GNULIB_REALLOC_POSIX''@|1|g' \
-e 's|@''GNULIB_REALPATH''@|0|g' \
-e 's|@''GNULIB_RPMATCH''@|0|g' \
-e 's|@''GNULIB_SETENV''@|0|g' \
-e 's|@''GNULIB_STRTOD''@|0|g' \
-e 's|@''GNULIB_STRTOLL''@|0|g' \
-e 's|@''GNULIB_STRTOULL''@|0|g' \
-e 's|@''GNULIB_SYSTEM_POSIX''@|0|g' \
-e 's|@''GNULIB_UNLOCKPT''@|0|g' \
-e 's|@''GNULIB_UNSETENV''@|1|g' \
-e 's|@''GNULIB_WCTOMB''@|0|g' \
< ./stdlib.in.h | \
sed -e 's|@''HAVE__EXIT''@|1|g' \
-e 's|@''HAVE_ATOLL''@|1|g' \
-e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \
-e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \
-e 's|@''HAVE_GETSUBOPT''@|1|g' \
-e 's|@''HAVE_GRANTPT''@|1|g' \
-e 's|@''HAVE_MKDTEMP''@|1|g' \
-e 's|@''HAVE_MKOSTEMP''@|1|g' \
-e 's|@''HAVE_MKOSTEMPS''@|1|g' \
-e 's|@''HAVE_MKSTEMP''@|1|g' \
-e 's|@''HAVE_MKSTEMPS''@|1|g' \
-e 's|@''HAVE_PTSNAME''@|1|g' \
-e 's|@''HAVE_RANDOM_H''@|1|g' \
-e 's|@''HAVE_RANDOM_R''@|1|g' \
-e 's|@''HAVE_REALPATH''@|1|g' \
-e 's|@''HAVE_RPMATCH''@|1|g' \
-e 's|@''HAVE_DECL_SETENV''@|1|g' \
-e 's|@''HAVE_STRTOD''@|1|g' \
-e 's|@''HAVE_STRTOLL''@|1|g' \
-e 's|@''HAVE_STRTOULL''@|1|g' \
-e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \
-e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \
-e 's|@''HAVE_UNLOCKPT''@|1|g' \
-e 's|@''HAVE_DECL_UNSETENV''@|1|g' \
-e 's|@''REPLACE_CALLOC''@|0|g' \
-e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \
-e 's|@''REPLACE_MALLOC''@|0|g' \
-e 's|@''REPLACE_MBTOWC''@|0|g' \
-e 's|@''REPLACE_MKSTEMP''@|0|g' \
-e 's|@''REPLACE_PUTENV''@|0|g' \
-e 's|@''REPLACE_REALLOC''@|0|g' \
-e 's|@''REPLACE_REALPATH''@|0|g' \
-e 's|@''REPLACE_SETENV''@|0|g' \
-e 's|@''REPLACE_STRTOD''@|0|g' \
-e 's|@''REPLACE_UNSETENV''@|0|g' \
-e 's|@''REPLACE_WCTOMB''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > stdlib.h-t && \
mv stdlib.h-t stdlib.h
rm -f string.h-t string.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_STRING_H''@|<string.h>|g' \
-e 's|@''GNULIB_MBSLEN''@|0|g' \
-e 's|@''GNULIB_MBSNLEN''@|0|g' \
-e 's|@''GNULIB_MBSCHR''@|1|g' \
-e 's|@''GNULIB_MBSRCHR''@|1|g' \
-e 's|@''GNULIB_MBSSTR''@|0|g' \
-e 's|@''GNULIB_MBSCASECMP''@|0|g' \
-e 's|@''GNULIB_MBSNCASECMP''@|0|g' \
-e 's|@''GNULIB_MBSPCASECMP''@|0|g' \
-e 's|@''GNULIB_MBSCASESTR''@|0|g' \
-e 's|@''GNULIB_MBSCSPN''@|0|g' \
-e 's|@''GNULIB_MBSPBRK''@|0|g' \
-e 's|@''GNULIB_MBSSPN''@|0|g' \
-e 's|@''GNULIB_MBSSEP''@|0|g' \
-e 's|@''GNULIB_MBSTOK_R''@|0|g' \
-e 's|@''GNULIB_MEMCHR''@|1|g' \
-e 's|@''GNULIB_MEMMEM''@|0|g' \
-e 's|@''GNULIB_MEMPCPY''@|0|g' \
-e 's|@''GNULIB_MEMRCHR''@|0|g' \
-e 's|@''GNULIB_RAWMEMCHR''@|1|g' \
-e 's|@''GNULIB_STPCPY''@|1|g' \
-e 's|@''GNULIB_STPNCPY''@|0|g' \
-e 's|@''GNULIB_STRCHRNUL''@|1|g' \
-e 's|@''GNULIB_STRDUP''@|1|g' \
-e 's|@''GNULIB_STRNCAT''@|0|g' \
-e 's|@''GNULIB_STRNDUP''@|1|g' \
-e 's|@''GNULIB_STRNLEN''@|1|g' \
-e 's|@''GNULIB_STRPBRK''@|0|g' \
-e 's|@''GNULIB_STRSEP''@|0|g' \
-e 's|@''GNULIB_STRSTR''@|0|g' \
-e 's|@''GNULIB_STRCASESTR''@|0|g' \
-e 's|@''GNULIB_STRTOK_R''@|0|g' \
-e 's|@''GNULIB_STRERROR''@|1|g' \
-e 's|@''GNULIB_STRERROR_R''@|0|g' \
-e 's|@''GNULIB_STRSIGNAL''@|0|g' \
-e 's|@''GNULIB_STRVERSCMP''@|1|g' \
< ./string.in.h | \
sed -e 's|@''HAVE_MBSLEN''@|0|g' \
-e 's|@''HAVE_MEMCHR''@|1|g' \
-e 's|@''HAVE_DECL_MEMMEM''@|1|g' \
-e 's|@''HAVE_MEMPCPY''@|1|g' \
-e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \
-e 's|@''HAVE_RAWMEMCHR''@|1|g' \
-e 's|@''HAVE_STPCPY''@|1|g' \
-e 's|@''HAVE_STPNCPY''@|1|g' \
-e 's|@''HAVE_STRCHRNUL''@|1|g' \
-e 's|@''HAVE_DECL_STRDUP''@|1|g' \
-e 's|@''HAVE_DECL_STRNDUP''@|1|g' \
-e 's|@''HAVE_DECL_STRNLEN''@|1|g' \
-e 's|@''HAVE_STRPBRK''@|1|g' \
-e 's|@''HAVE_STRSEP''@|1|g' \
-e 's|@''HAVE_STRCASESTR''@|1|g' \
-e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
-e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \
-e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \
-e 's|@''HAVE_STRVERSCMP''@|1|g' \
-e 's|@''REPLACE_STPNCPY''@|0|g' \
-e 's|@''REPLACE_MEMCHR''@|0|g' \
-e 's|@''REPLACE_MEMMEM''@|0|g' \
-e 's|@''REPLACE_STRCASESTR''@|0|g' \
-e 's|@''REPLACE_STRDUP''@|0|g' \
-e 's|@''REPLACE_STRSTR''@|0|g' \
-e 's|@''REPLACE_STRERROR''@|0|g' \
-e 's|@''REPLACE_STRERROR_R''@|0|g' \
-e 's|@''REPLACE_STRNCAT''@|0|g' \
-e 's|@''REPLACE_STRNDUP''@|0|g' \
-e 's|@''REPLACE_STRNLEN''@|0|g' \
-e 's|@''REPLACE_STRSIGNAL''@|0|g' \
-e 's|@''REPLACE_STRTOK_R''@|0|g' \
-e 's|@''UNDEFINE_STRTOK_R''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
< ./string.in.h; \
} > string.h-t && \mv string.h-t string.h/bin/mkdir -p sys
rm -f sys/ioctl.h-t sys/ioctl.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_SYS_IOCTL_H''@|1|g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_SYS_IOCTL_H''@|<sys/ioctl.h>|g' \
-e 's|@''GNULIB_IOCTL''@|1|g' \
-e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|0|g' \
-e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
-e 's|@''REPLACE_IOCTL''@|1|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./sys_ioctl.in.h; \
} > sys/ioctl.h-t && \mv sys/ioctl.h-t sys/ioctl.h/bin/mkdir -p sys
rm -f sys/socket.h-t sys/socket.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_SYS_SOCKET_H''@|<sys/socket.h>|g' \
-e 's|@''HAVE_SYS_SOCKET_H''@|1|g' \
-e 's|@''GNULIB_CLOSE''@|1|g' \
-e 's|@''GNULIB_SOCKET''@|0|g' \
-e 's|@''GNULIB_CONNECT''@|0|g' \
-e 's|@''GNULIB_ACCEPT''@|0|g' \
-e 's|@''GNULIB_BIND''@|0|g' \
-e 's|@''GNULIB_GETPEERNAME''@|0|g' \
-e 's|@''GNULIB_GETSOCKNAME''@|0|g' \
-e 's|@''GNULIB_GETSOCKOPT''@|0|g' \
-e 's|@''GNULIB_LISTEN''@|0|g' \
-e 's|@''GNULIB_RECV''@|0|g' \
-e 's|@''GNULIB_SEND''@|0|g' \
-e 's|@''GNULIB_RECVFROM''@|0|g' \
-e 's|@''GNULIB_SENDTO''@|0|g' \
-e 's|@''GNULIB_SETSOCKOPT''@|0|g' \
-e 's|@''GNULIB_SHUTDOWN''@|0|g' \
-e 's|@''GNULIB_ACCEPT4''@|0|g' \
-e 's|@''HAVE_WINSOCK2_H''@|0|g' \
-e 's|@''HAVE_WS2TCPIP_H''@|0|g' \
-e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|1|g' \
-e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|1|g' \
-e 's|@''HAVE_SA_FAMILY_T''@|1|g' \
-e 's|@''HAVE_ACCEPT4''@|1|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./sys_socket.in.h; \
} > sys/socket.h-t && \mv -f sys/socket.h-t sys/socket.h/bin/mkdir -p sys
rm -f sys/stat.h-t sys/stat.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \
-e 's|@''GNULIB_FCHMODAT''@|0|g' \
-e 's|@''GNULIB_FSTATAT''@|0|g' \
-e 's|@''GNULIB_FUTIMENS''@|0|g' \
-e 's|@''GNULIB_LCHMOD''@|0|g' \
-e 's|@''GNULIB_LSTAT''@|0|g' \
-e 's|@''GNULIB_MKDIRAT''@|0|g' \
-e 's|@''GNULIB_MKFIFO''@|0|g' \
-e 's|@''GNULIB_MKFIFOAT''@|0|g' \
-e 's|@''GNULIB_MKNOD''@|0|g' \
-e 's|@''GNULIB_MKNODAT''@|0|g' \
-e 's|@''GNULIB_STAT''@|1|g' \
-e 's|@''GNULIB_UTIMENSAT''@|0|g' \
-e 's|@''HAVE_FCHMODAT''@|1|g' \
-e 's|@''HAVE_FSTATAT''@|1|g' \
-e 's|@''HAVE_FUTIMENS''@|1|g' \
-e 's|@''HAVE_LCHMOD''@|1|g' \
-e 's|@''HAVE_LSTAT''@|1|g' \
-e 's|@''HAVE_MKDIRAT''@|1|g' \
-e 's|@''HAVE_MKFIFO''@|1|g' \
-e 's|@''HAVE_MKFIFOAT''@|1|g' \
-e 's|@''HAVE_MKNOD''@|1|g' \
-e 's|@''HAVE_MKNODAT''@|1|g' \
-e 's|@''HAVE_UTIMENSAT''@|1|g' \
-e 's|@''REPLACE_FSTAT''@|0|g' \
-e 's|@''REPLACE_FSTATAT''@|0|g' \
-e 's|@''REPLACE_FUTIMENS''@|0|g' \
-e 's|@''REPLACE_LSTAT''@|0|g' \
-e 's|@''REPLACE_MKDIR''@|0|g' \
-e 's|@''REPLACE_MKFIFO''@|0|g' \
-e 's|@''REPLACE_MKNOD''@|0|g' \
-e 's|@''REPLACE_STAT''@|0|g' \
-e 's|@''REPLACE_UTIMENSAT''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./sys_stat.in.h; \
} > sys/stat.h-t && \mv sys/stat.h-t sys/stat.h/bin/mkdir -p sys
rm -f sys/wait.h-t sys/wait.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_SYS_WAIT_H''@|<sys/wait.h>|g' \
-e 's|@''GNULIB_WAITPID''@|1|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./sys_wait.in.h; \
} > sys/wait.h-t && \
mv sys/wait.h-t sys/wait.h
rm -f time.h-t time.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_TIME_H''@|<time.h>|g' \
-e 's|@''GNULIB_MKTIME''@|0|g' \
-e 's|@''GNULIB_NANOSLEEP''@|0|g' \
-e 's|@''GNULIB_STRPTIME''@|0|g' \
-e 's|@''GNULIB_TIMEGM''@|0|g' \
-e 's|@''GNULIB_TIME_R''@|0|g' \
-e 's|@''HAVE_DECL_LOCALTIME_R''@|1|g' \
-e 's|@''HAVE_NANOSLEEP''@|1|g' \
-e 's|@''HAVE_STRPTIME''@|1|g' \
-e 's|@''HAVE_TIMEGM''@|1|g' \
-e 's|@''REPLACE_LOCALTIME_R''@|GNULIB_PORTCHECK|g' \
-e 's|@''REPLACE_MKTIME''@|GNULIB_PORTCHECK|g' \
-e 's|@''REPLACE_NANOSLEEP''@|GNULIB_PORTCHECK|g' \
-e 's|@''REPLACE_TIMEGM''@|GNULIB_PORTCHECK|g' \
-e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
-e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
-e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|1|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./time.in.h; \
} > time.h-t && \
mv time.h-t time.h
rm -f unistd.h-t unistd.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_UNISTD_H''@|1|g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
-e 's|@''GNULIB_CHOWN''@|0|g' \
-e 's|@''GNULIB_CLOSE''@|1|g' \
-e 's|@''GNULIB_DUP2''@|1|g' \
-e 's|@''GNULIB_DUP3''@|0|g' \
-e 's|@''GNULIB_ENVIRON''@|1|g' \
-e 's|@''GNULIB_EUIDACCESS''@|0|g' \
-e 's|@''GNULIB_FACCESSAT''@|0|g' \
-e 's|@''GNULIB_FCHDIR''@|0|g' \
-e 's|@''GNULIB_FCHOWNAT''@|0|g' \
-e 's|@''GNULIB_FSYNC''@|0|g' \
-e 's|@''GNULIB_FTRUNCATE''@|0|g' \
-e 's|@''GNULIB_GETCWD''@|0|g' \
-e 's|@''GNULIB_GETDOMAINNAME''@|0|g' \
-e 's|@''GNULIB_GETDTABLESIZE''@|1|g' \
-e 's|@''GNULIB_GETGROUPS''@|0|g' \
-e 's|@''GNULIB_GETHOSTNAME''@|0|g' \
-e 's|@''GNULIB_GETLOGIN''@|0|g' \
-e 's|@''GNULIB_GETLOGIN_R''@|0|g' \
-e 's|@''GNULIB_GETPAGESIZE''@|0|g' \
-e 's|@''GNULIB_GETUSERSHELL''@|0|g' \
-e 's|@''GNULIB_LCHOWN''@|0|g' \
-e 's|@''GNULIB_LINK''@|0|g' \
-e 's|@''GNULIB_LINKAT''@|0|g' \
-e 's|@''GNULIB_LSEEK''@|0|g' \
-e 's|@''GNULIB_PIPE''@|1|g' \
-e 's|@''GNULIB_PIPE2''@|1|g' \
-e 's|@''GNULIB_PREAD''@|0|g' \
-e 's|@''GNULIB_PWRITE''@|0|g' \
-e 's|@''GNULIB_READLINK''@|0|g' \
-e 's|@''GNULIB_READLINKAT''@|0|g' \
-e 's|@''GNULIB_RMDIR''@|0|g' \
-e 's|@''GNULIB_SLEEP''@|0|g' \
-e 's|@''GNULIB_SYMLINK''@|0|g' \
-e 's|@''GNULIB_SYMLINKAT''@|0|g' \
-e 's|@''GNULIB_TTYNAME_R''@|0|g' \
-e 's|@''GNULIB_UNISTD_H_GETOPT''@|0|g' \
-e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|0|g' \
-e 's|@''GNULIB_UNLINK''@|0|g' \
-e 's|@''GNULIB_UNLINKAT''@|0|g' \
-e 's|@''GNULIB_USLEEP''@|0|g' \
-e 's|@''GNULIB_WRITE''@|0|g' \
< ./unistd.in.h | \
sed -e 's|@''HAVE_CHOWN''@|1|g' \
-e 's|@''HAVE_DUP2''@|1|g' \
-e 's|@''HAVE_DUP3''@|1|g' \
-e 's|@''HAVE_EUIDACCESS''@|1|g' \
-e 's|@''HAVE_FACCESSAT''@|1|g' \
-e 's|@''HAVE_FCHDIR''@|1|g' \
-e 's|@''HAVE_FCHOWNAT''@|1|g' \
-e 's|@''HAVE_FSYNC''@|1|g' \
-e 's|@''HAVE_FTRUNCATE''@|1|g' \
-e 's|@''HAVE_GETDTABLESIZE''@|1|g' \
-e 's|@''HAVE_GETGROUPS''@|1|g' \
-e 's|@''HAVE_GETHOSTNAME''@|1|g' \
-e 's|@''HAVE_GETLOGIN''@|1|g' \
-e 's|@''HAVE_GETPAGESIZE''@|1|g' \
-e 's|@''HAVE_LCHOWN''@|1|g' \
-e 's|@''HAVE_LINK''@|1|g' \
-e 's|@''HAVE_LINKAT''@|1|g' \
-e 's|@''HAVE_PIPE''@|1|g' \
-e 's|@''HAVE_PIPE2''@|1|g' \
-e 's|@''HAVE_PREAD''@|1|g' \
-e 's|@''HAVE_PWRITE''@|1|g' \
-e 's|@''HAVE_READLINK''@|1|g' \
-e 's|@''HAVE_READLINKAT''@|1|g' \
-e 's|@''HAVE_SLEEP''@|1|g' \
-e 's|@''HAVE_SYMLINK''@|1|g' \
-e 's|@''HAVE_SYMLINKAT''@|1|g' \
-e 's|@''HAVE_UNLINKAT''@|1|g' \
-e 's|@''HAVE_USLEEP''@|1|g' \
-e 's|@''HAVE_DECL_ENVIRON''@|1|g' \
-e 's|@''HAVE_DECL_FCHDIR''@|1|g' \
-e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \
-e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
-e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \
-e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \
-e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \
-e 's|@''HAVE_OS_H''@|0|g' \
-e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
| \
sed -e 's|@''REPLACE_CHOWN''@|0|g' \
-e 's|@''REPLACE_CLOSE''@|0|g' \
-e 's|@''REPLACE_DUP''@|0|g' \
-e 's|@''REPLACE_DUP2''@|0|g' \
-e 's|@''REPLACE_FCHOWNAT''@|0|g' \
-e 's|@''REPLACE_GETCWD''@|0|g' \
-e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \
-e 's|@''REPLACE_GETLOGIN_R''@|0|g' \
-e 's|@''REPLACE_GETGROUPS''@|0|g' \
-e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
-e 's|@''REPLACE_LCHOWN''@|0|g' \
-e 's|@''REPLACE_LINK''@|0|g' \
-e 's|@''REPLACE_LINKAT''@|0|g' \
-e 's|@''REPLACE_LSEEK''@|0|g' \
-e 's|@''REPLACE_PREAD''@|0|g' \
-e 's|@''REPLACE_PWRITE''@|0|g' \
-e 's|@''REPLACE_READLINK''@|0|g' \
-e 's|@''REPLACE_RMDIR''@|0|g' \
-e 's|@''REPLACE_SLEEP''@|0|g' \
-e 's|@''REPLACE_SYMLINK''@|0|g' \
-e 's|@''REPLACE_TTYNAME_R''@|0|g' \
-e 's|@''REPLACE_UNLINK''@|0|g' \
-e 's|@''REPLACE_UNLINKAT''@|0|g' \
-e 's|@''REPLACE_USLEEP''@|0|g' \
-e 's|@''REPLACE_WRITE''@|0|g' \
-e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \
-e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > unistd.h-t && \
mv unistd.h-t unistd.h
rm -f wchar.h-t wchar.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''HAVE_FEATURES_H''@|1|g' \
-e 's|@''NEXT_WCHAR_H''@|<wchar.h>|g' \
-e 's|@''HAVE_WCHAR_H''@|1|g' \
-e 's|@''GNULIB_BTOWC''@|0|g' \
-e 's|@''GNULIB_WCTOB''@|0|g' \
-e 's|@''GNULIB_MBSINIT''@|1|g' \
-e 's|@''GNULIB_MBRTOWC''@|1|g' \
-e 's|@''GNULIB_MBRLEN''@|0|g' \
-e 's|@''GNULIB_MBSRTOWCS''@|0|g' \
-e 's|@''GNULIB_MBSNRTOWCS''@|0|g' \
-e 's|@''GNULIB_WCRTOMB''@|0|g' \
-e 's|@''GNULIB_WCSRTOMBS''@|0|g' \
-e 's|@''GNULIB_WCSNRTOMBS''@|0|g' \
-e 's|@''GNULIB_WCWIDTH''@|1|g' \
-e 's|@''GNULIB_WMEMCHR''@|0|g' \
-e 's|@''GNULIB_WMEMCMP''@|0|g' \
-e 's|@''GNULIB_WMEMCPY''@|0|g' \
-e 's|@''GNULIB_WMEMMOVE''@|0|g' \
-e 's|@''GNULIB_WMEMSET''@|0|g' \
-e 's|@''GNULIB_WCSLEN''@|0|g' \
-e 's|@''GNULIB_WCSNLEN''@|0|g' \
-e 's|@''GNULIB_WCSCPY''@|0|g' \
-e 's|@''GNULIB_WCPCPY''@|0|g' \
-e 's|@''GNULIB_WCSNCPY''@|0|g' \
-e 's|@''GNULIB_WCPNCPY''@|0|g' \
-e 's|@''GNULIB_WCSCAT''@|0|g' \
-e 's|@''GNULIB_WCSNCAT''@|0|g' \
-e 's|@''GNULIB_WCSCMP''@|0|g' \
-e 's|@''GNULIB_WCSNCMP''@|0|g' \
-e 's|@''GNULIB_WCSCASECMP''@|0|g' \
-e 's|@''GNULIB_WCSNCASECMP''@|0|g' \
-e 's|@''GNULIB_WCSCOLL''@|0|g' \
-e 's|@''GNULIB_WCSXFRM''@|0|g' \
-e 's|@''GNULIB_WCSDUP''@|0|g' \
-e 's|@''GNULIB_WCSCHR''@|0|g' \
-e 's|@''GNULIB_WCSRCHR''@|0|g' \
-e 's|@''GNULIB_WCSCSPN''@|0|g' \
-e 's|@''GNULIB_WCSSPN''@|0|g' \
-e 's|@''GNULIB_WCSPBRK''@|0|g' \
-e 's|@''GNULIB_WCSSTR''@|0|g' \
-e 's|@''GNULIB_WCSTOK''@|0|g' \
-e 's|@''GNULIB_WCSWIDTH''@|0|g' \
< ./wchar.in.h | \
sed -e 's|@''HAVE_WINT_T''@|1|g' \
-e 's|@''HAVE_BTOWC''@|1|g' \
-e 's|@''HAVE_MBSINIT''@|1|g' \
-e 's|@''HAVE_MBRTOWC''@|1|g' \
-e 's|@''HAVE_MBRLEN''@|1|g' \
-e 's|@''HAVE_MBSRTOWCS''@|1|g' \
-e 's|@''HAVE_MBSNRTOWCS''@|1|g' \
-e 's|@''HAVE_WCRTOMB''@|1|g' \
-e 's|@''HAVE_WCSRTOMBS''@|1|g' \
-e 's|@''HAVE_WCSNRTOMBS''@|1|g' \
-e 's|@''HAVE_WMEMCHR''@|1|g' \
-e 's|@''HAVE_WMEMCMP''@|1|g' \
-e 's|@''HAVE_WMEMCPY''@|1|g' \
-e 's|@''HAVE_WMEMMOVE''@|1|g' \
-e 's|@''HAVE_WMEMSET''@|1|g' \
-e 's|@''HAVE_WCSLEN''@|1|g' \
-e 's|@''HAVE_WCSNLEN''@|1|g' \
-e 's|@''HAVE_WCSCPY''@|1|g' \
-e 's|@''HAVE_WCPCPY''@|1|g' \
-e 's|@''HAVE_WCSNCPY''@|1|g' \
-e 's|@''HAVE_WCPNCPY''@|1|g' \
-e 's|@''HAVE_WCSCAT''@|1|g' \
-e 's|@''HAVE_WCSNCAT''@|1|g' \
-e 's|@''HAVE_WCSCMP''@|1|g' \
-e 's|@''HAVE_WCSNCMP''@|1|g' \
-e 's|@''HAVE_WCSCASECMP''@|1|g' \
-e 's|@''HAVE_WCSNCASECMP''@|1|g' \
-e 's|@''HAVE_WCSCOLL''@|1|g' \
-e 's|@''HAVE_WCSXFRM''@|1|g' \
-e 's|@''HAVE_WCSDUP''@|1|g' \
-e 's|@''HAVE_WCSCHR''@|1|g' \
-e 's|@''HAVE_WCSRCHR''@|1|g' \
-e 's|@''HAVE_WCSCSPN''@|1|g' \
-e 's|@''HAVE_WCSSPN''@|1|g' \
-e 's|@''HAVE_WCSPBRK''@|1|g' \
-e 's|@''HAVE_WCSSTR''@|1|g' \
-e 's|@''HAVE_WCSTOK''@|1|g' \
-e 's|@''HAVE_WCSWIDTH''@|1|g' \
-e 's|@''HAVE_DECL_WCTOB''@|1|g' \
-e 's|@''HAVE_DECL_WCWIDTH''@|1|g' \
| \
sed -e 's|@''REPLACE_MBSTATE_T''@|0|g' \
-e 's|@''REPLACE_BTOWC''@|0|g' \
-e 's|@''REPLACE_WCTOB''@|0|g' \
-e 's|@''REPLACE_MBSINIT''@|0|g' \
-e 's|@''REPLACE_MBRTOWC''@|0|g' \
-e 's|@''REPLACE_MBRLEN''@|0|g' \
-e 's|@''REPLACE_MBSRTOWCS''@|0|g' \
-e 's|@''REPLACE_MBSNRTOWCS''@|0|g' \
-e 's|@''REPLACE_WCRTOMB''@|0|g' \
-e 's|@''REPLACE_WCSRTOMBS''@|0|g' \
-e 's|@''REPLACE_WCSNRTOMBS''@|0|g' \
-e 's|@''REPLACE_WCWIDTH''@|0|g' \
-e 's|@''REPLACE_WCSWIDTH''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > wchar.h-t && \
mv wchar.h-t wchar.h
rm -f wctype.h-t wctype.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's/@''HAVE_WCTYPE_H''@/1/g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_WCTYPE_H''@|<wctype.h>|g' \
-e 's/@''GNULIB_ISWBLANK''@/1/g' \
-e 's/@''GNULIB_WCTYPE''@/0/g' \
-e 's/@''GNULIB_ISWCTYPE''@/0/g' \
-e 's/@''GNULIB_WCTRANS''@/0/g' \
-e 's/@''GNULIB_TOWCTRANS''@/0/g' \
-e 's/@''HAVE_ISWBLANK''@/1/g' \
-e 's/@''HAVE_ISWCNTRL''@/1/g' \
-e 's/@''HAVE_WCTYPE_T''@/1/g' \
-e 's/@''HAVE_WCTRANS_T''@/1/g' \
-e 's/@''HAVE_WINT_T''@/1/g' \
-e 's/@''REPLACE_ISWBLANK''@/0/g' \
-e 's/@''REPLACE_ISWCNTRL''@/0/g' \
-e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
-e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
< ./wctype.in.h; \
} > wctype.h-t && \mv wctype.h-t wctype.h
make all-recursive
make[3]: Entering directory /mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/lib' make[4]: Entering directory /mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/lib'
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o main.o main.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o yyerror.o yyerror.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o c-ctype.o c-ctype.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o c-strcasecmp.o c-strcasecmp.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o c-strncasecmp.o c-strncasecmp.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o close-hook.o close-hook.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o exitfail.o exitfail.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o fatal-signal.o fatal-signal.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o fd-safer-flag.o fd-safer-flag.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o dup-safer-flag.o dup-safer-flag.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o fseterr.o fseterr.c
gcc -std=gnu99 -I. -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -isystem/mnt/yocto/poky-vanilla.git/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o localcharset.o localcharset.c
In file included from fseterr.h:20:0,
from fseterr.c:20:./stdio.h:496:1: error: 'gets' undeclared here (not in a function)
make[4]: *** [fseterr.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from localcharset.c:30:0:
./stdio.h:496:1: error: 'gets' undeclared here (not in a function)
make[4]: *** [localcharset.o] Error 1
make[4]: Leaving directory `/mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/bison-2.5'
make: *** [all] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see /mnt/yocto/poky-vanilla.git/build/tmp/work/x86_64-linux/bison-native-2.5-r2/temp/log.do_compile.12733 for further information)
PATCH 1/1 bison: move remove-gets.patch to BASE_SRC_URI, it's needed for bison-native too if host has (e)glibc-2.16
--- meta/recipes-devtools/bison/bison_2.5.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/bison/bison_2.5.bb +2 -2
@@ -9,15 +9,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SECTION = "devel" DEPENDS = "bison-native flex-native" -PR = "r2" +PR = "r3" BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ file://m4.patch \ + file://remove-gets.patch \ " SRC_URI = "${BASE_SRC_URI} \ file://fix_cross_manpage_building.patch \ - file://remove-gets.patch \ " SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4"
Signature · 1 line
1.7.8.6
Richard Purdie
AppliedRe: [PATCH] bison: move remove-gets.patch to BASE_SRC_URI, it's needed for bison-native too if host has (e)glibc-2.16
Quoted 4 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-devtools/bison/bison_2.5.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Merged to master, thanks.
Richard
Re: [PATCH 08/19] bison: Fix for gets being removed from eglibc 2.16
In reply to Jack MitchellQuoted 2 lines · Jack Mitchell
I'm not sure quite what you mean by pre-processed output but here is my
do_compilelog which is where it fails.
He meant C source code after processing by preprocessor (-E option for gcc), but it's not needed, see following patch.
The problem was that patch was applied only for target recipe not -native which is failing for you (I guess you have (e)glibc-2.16 on host like I do)
Cheers,
Re: [PATCH 08/19] bison: Fix for gets being removed from eglibc 2.16
Quoted 4 lines · Martin Jansa
Quoted 2 lines · Jack Mitchell
I'm not sure quite what you mean by pre-processed output but here is my
do_compilelog which is where it fails.
Quoted 8 lines
He meant C source code after processing by preprocessor (-E option for gcc), but it's not needed, see following patch.
The problem was that patch was applied only for target recipe not -native which is failing for you (I guess you have (e)glibc-2.16 on host like I do)
Cheers,
Do you know what, I should have seen this as I applied my patch to the BASE_SRC_URI. My patch failed with the same message again in the SRC_URI and I thought I had just deleted Khems patch line and then re-added my patch line in the wrong function.
I'll put it down to it being the weekend
I do have glibc-2.16 on my host and it's causing me no end of trouble - but someone has be the lab rat eh and I'm not under commercial pressure quite yet ;) I'll have another eglibc do_install issue coming along soon as I can't seem to fix it.
What would be the process to get the preprocessed output?
Cheers,
Jack.
Re: [PATCH 08/19] bison: Fix for gets being removed from eglibc 2.16
Quoted 19 lines · Jack Mitchell
Quoted 4 lines · Martin Jansa
Quoted 2 lines · Jack Mitchell
I'm not sure quite what you mean by pre-processed output but here is my
do_compilelog which is where it fails.Quoted 8 lines
He meant C source code after processing by preprocessor (-E option for gcc), but it's not needed, see following patch.
The problem was that patch was applied only for target recipe not -native which is failing for you (I guess you have (e)glibc-2.16 on host like I do)
Cheers,
Do you know what, I should have seen this as I applied my patch to the
BASE_SRC_URI. My patch failed with the same message again in theSRC_URIand I thought I had just deleted Khems patch line and then re-added my patch line in the wrong function.
Quoted 8 lines
I'll put it down to it being the weekend
I do have glibc-2.16 on my host and it's causing me no end of trouble - but someone has be the lab rat eh and I'm not under commercial pressure quite yet ;) I'll have another eglibc
do_installissue coming along soon as I can't seem to fix it.What would be the process to get the preprocessed output?
cd to dir where the build is failing, copy last gcc call which was failing with gets, replace -c with -E and rename -o param to foo.E, execute and then send foo.E
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH 9/19 grub, guile, cpio, tar, wget: Fix gnulib for absense of gets in eglibc
In reply to Khem Rajeglibc 2.16 does not export gets anymore
--- meta/recipes-bsp/grub/grub-1.99/remove-gets.patch | 20 +++++++++++++++++ meta/recipes-bsp/grub/grub_1.99.bb | 3 ++- .../recipes-devtools/guile/files/remove-gets.patch | 23 ++++++++++++++++++++ meta/recipes-devtools/guile/guile_2.0.5.bb | 3 ++- .../cpio/cpio-2.11/remove-gets.patch | 20 +++++++++++++++++ meta/recipes-extended/cpio/cpio_2.11.bb | 5 ++++- .../tar/tar-1.26/remove-gets.patch | 20 +++++++++++++++++ meta/recipes-extended/tar/tar_1.26.bb | 5 ++++- .../wget/wget-1.13.4/remove-gets.patch | 23 ++++++++++++++++++++ meta/recipes-extended/wget/wget_1.13.4.bb | 3 ++- 10 files changed, 120 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch
meta/recipes-bsp/grub/grub-1.99/remove-gets.patch new file +20 -0
@@ -0,0 +1,20 @@ +ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: grub-1.99/grub-core/gnulib/stdio.in.h +=================================================================== +--- grub-1.99.orig/grub-core/gnulib/stdio.in.h 2010-12-01 06:45:43.000000000 -0800 ++++ grub-1.99/grub-core/gnulib/stdio.in.h 2012-07-04 12:25:02.057099107 -0700 +@@ -140,8 +140,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@
meta/recipes-bsp/grub/grub_1.99.bb +2 -1
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS = "autogen-native" RDEPENDS_${PN} = "diffutils freetype" -PR = "r8" +PR = "r9" SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ file://grub-install.in.patch \
@@ -23,6 +23,7 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ file://grub-1.99-gcc-4.7.0-uninitialized-var-errors.patch \ file://grub-1.99-gcc-4.7.0-strict-aliasing-errors.patch \ file://grub-1.99-fix-enable_execute_stack-check.patch \ + file://remove-gets.patch \ file://40_custom" SRC_URI[md5sum] = "ca9f2a2d571b57fc5c53212d1d22e2b5"
meta/recipes-devtools/guile/files/remove-gets.patch new file +23 -0
@@ -0,0 +1,23 @@ +ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: guile-2.0.5/lib/stdio.in.h +=================================================================== +--- guile-2.0.5.orig/lib/stdio.in.h 2012-01-24 03:06:06.000000000 -0800 ++++ guile-2.0.5/lib/stdio.in.h 2012-07-04 12:28:15.617108481 -0700 +@@ -711,11 +711,13 @@ + _GL_CXXALIAS_SYS (gets, char *, (char *s)); + # undef gets + # endif ++# if defined gets + _GL_CXXALIASWARN (gets); + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++# endif + #endif + +
meta/recipes-devtools/guile/guile_2.0.5.bb +2 -1
@@ -20,6 +20,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \ file://guile_2.0.5_fix_sed_error.patch \ file://guile_2.0.5_disable_goops_optimizations.patch \ file://guile_2.0.5_fix_cross_compilation.patch \ + file://remove-gets.patch \ " # file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch
@@ -28,7 +29,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \ SRC_URI[md5sum] = "bcf70d54b44c99cb9acd3f63c5486b4b" SRC_URI[sha256sum] = "2a026ea6cdbc51ca71bcd9787839debfa45ac5db1e26dc00b30ca9b128b10956" -PR = "r1" +PR = "r2" inherit autotools gettext BBCLASSEXTEND = "native"
meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch new file +20 -0
@@ -0,0 +1,20 @@ +ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: cpio-2.11/gnu/stdio.in.h +=================================================================== +--- cpio-2.11.orig/gnu/stdio.in.h 2012-07-04 12:13:43.133066247 -0700 ++++ cpio-2.11/gnu/stdio.in.h 2012-07-04 12:14:10.189067564 -0700 +@@ -138,8 +138,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@
meta/recipes-extended/cpio/cpio_2.11.bb +4 -1
@@ -3,7 +3,10 @@ include cpio_v2.inc LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" -PR = "r2" +PR = "r3" + +SRC_URI += "file://remove-gets.patch \ + " SRC_URI[md5sum] = "1112bb6c45863468b5496ba128792f6c" SRC_URI[sha256sum] = "601b1d774cd6e4cd39416203c91ec59dbd65dd27d79d75e1a9b89497ea643978"
meta/recipes-extended/tar/tar-1.26/remove-gets.patch new file +20 -0
@@ -0,0 +1,20 @@ +ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: tar-1.26/gnu/stdio.in.h +=================================================================== +--- tar-1.26.orig/gnu/stdio.in.h 2011-03-12 01:14:33.000000000 -0800 ++++ tar-1.26/gnu/stdio.in.h 2012-07-04 12:18:58.997081535 -0700 +@@ -163,8 +163,10 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#if defined gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@
meta/recipes-extended/tar/tar_1.26.bb +4 -1
@@ -3,7 +3,10 @@ require tar.inc LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -PR = "r2" +PR = "r3" + +SRC_URI += "file://remove-gets.patch \ + " SRC_URI[md5sum] = "2cee42a2ff4f1cd4f9298eeeb2264519" SRC_URI[sha256sum] = "5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41"
meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch new file +23 -0
@@ -0,0 +1,23 @@ +ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: wget-1.13.4/lib/stdio.in.h +=================================================================== +--- wget-1.13.4.orig/lib/stdio.in.h 2011-09-13 01:15:14.000000000 -0700 ++++ wget-1.13.4/lib/stdio.in.h 2012-07-04 12:22:45.749092515 -0700 +@@ -693,11 +693,13 @@ + _GL_CXXALIAS_SYS (gets, char *, (char *s)); + # undef gets + # endif ++# if defined gets + _GL_CXXALIASWARN (gets); + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++# endif + #endif + +
meta/recipes-extended/wget/wget_1.13.4.bb +2 -1
@@ -1,7 +1,8 @@ -PR = "${INC_PR}.2" +PR = "${INC_PR}.3" SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \ file://fix_makefile.patch \ + file://remove-gets.patch \ " SRC_URI[md5sum] = "1df489976a118b9cbe1b03502adbfc27" SRC_URI[sha256sum] = "24c7710bc9f220ce23d8a9e0f5673b0efc1cace62db6de0239b5863ecc934dcd"
Signature · 1 line
1.7.9.5
PATCH 10/19 boost: Upgrade recipe to 1.50.0
In reply to Khem Raj1.49.0 is not buildable with eglibc 2.16 since it exposes a define TIME_UTC which is also used in boost until 1.50.0 when it was renamed to TIME_UTC_ so instead of porting needed patches we upgrade boost to latest release
---
.../boost/{boost_1.49.0.bb => boost_1.50.0.bb} | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%)meta/recipes-support/boost/boost_1.50.0.bb renamed from meta/recipes-support/boost/boost_1.49.0.bb +2 -3
@@ -5,6 +5,5 @@ LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" PR = "${INC_PR}.0" SRC_URI += "file://arm-intrinsics.patch" - -SRC_URI[md5sum] = "0d202cb811f934282dea64856a175698" -SRC_URI[sha256sum] = "dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c" +SRC_URI[md5sum] = "52dd00be775e689f55a987baebccc462" +SRC_URI[sha256sum] = "c9ace2b8c81fa6703d1d17c7e478de3bc51101c5adbdeb3f6cb72cf3045a8529"
Signature · 1 line
1.7.9.5
PATCH 11/19 puzzles: Fix checksums
In reply to Khem Raj--- meta/recipes-sato/puzzles/puzzles_r9561.bb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
meta/recipes-sato/puzzles/puzzles_r9561.bb +5 -6
@@ -9,13 +9,12 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=453de74d749439762ef4814f7bee1fec" # Upstream updates puzzles.tar.gz for the new release, so checksums seem to be changing regularly right now -#SRC_URI = "svn://ixion.tartarus.org/main;module=puzzles;rev=${MOD_PV}" -SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" -SRC_URI[md5sum] = "c86695aebfc95efe1d6241863849101b" -SRC_URI[sha256sum] = "2c20a45189387e3de8804a58bdb4e47ac4bb0f890001a509dfbdc015b5a84b95" +SRC_URI = "svn://svn.tartarus.org/sgt;module=puzzles;rev=${MOD_PV}" +#SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" +SRC_URI[md5sum] = "d45c4ce0530d62d59d819a91b1b1e055" +SRC_URI[sha256sum] = "87b54f2990fb6bee4981e22851f86361fb7e0b0d2010e22eeb387b6564d0bc11" - -S = "${WORKDIR}/${BPN}-${PV}" +S = "${WORKDIR}/${BPN}" do_configure () { ./mkfiles.pl
Signature · 1 line
1.7.9.5
PATCH 12/19 valgrind: Fix build with eglibc 2.16
In reply to Khem Raj--- .../valgrind-3.7.0/configure-with-glibc-2.16.patch | 32 ++++++++++++++++++++ meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | 6 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch
meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch new file +32 -0
@@ -0,0 +1,32 @@ +Add case for glibc 2.16 and correct error message to denote support until 2.16 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: valgrind-3.7.0/configure.in +=================================================================== +--- valgrind-3.7.0.orig/configure.in 2012-07-04 12:57:10.557192441 -0700 ++++ valgrind-3.7.0/configure.in 2012-07-04 12:57:58.785194776 -0700 +@@ -788,6 +788,13 @@ + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" + ;; ++ 2.16) ++ AC_MSG_RESULT(2.16 family) ++ AC_DEFINE([GLIBC_2_16], 1, [Define to 1 if you're using glibc 2.16.x]) ++ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}" ++ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" ++ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" ++ ;; + darwin) + AC_MSG_RESULT(Darwin) + AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin]) +@@ -801,7 +808,7 @@ + + *) + AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}]) +- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.14]) ++ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.16]) + AC_MSG_ERROR([or Darwin libc]) + ;; + esac
meta/recipes-devtools/valgrind/valgrind_3.7.0.bb +4 -2
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \ X11DEPENDS = "virtual/libx11" DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" -PR = "r4" +PR = "r5" SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ file://fix_issue_caused_by_ccache.patch \
@@ -17,7 +17,9 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ file://fixed-perl-path.patch \ file://fix_for_automake_1.11.2.patch \ file://configure-fix.patch \ - file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch" + file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \ + file://configure-with-glibc-2.16.patch \ + " SRC_URI[md5sum] = "a855fda56edf05614f099dca316d1775" SRC_URI[sha256sum] = "5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6"
Signature · 1 line
1.7.9.5
PATCH 13/19 libpam: Fix build with eglibc 2.16
In reply to Khem Rajpam_unix_acct.c: In function '_unix_run_verify_binary':
pam_unix_acct.c:97:19: error: storage size of 'rlim' isn't known pam_unix_acct.c:106:19: error: 'RLIMIT_NOFILE' undeclared (first use in this function)
pam_unix_acct.c:106:19: note: each undeclared identifier is reported only once for each function it appears in
--- .../pam/libpam/include-sys-resource.patch | 12 ++++++++++++ meta/recipes-extended/pam/libpam_1.1.5.bb | 6 ++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch
meta/recipes-extended/pam/libpam/include-sys-resource.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c +=================================================================== +--- Linux-PAM-1.1.5.orig/modules/pam_unix/pam_unix_acct.c 2012-07-04 12:37:44.881136025 -0700 ++++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c 2012-07-04 12:38:00.601136785 -0700 +@@ -47,6 +47,7 @@ + #include <time.h> /* for time() */ + #include <errno.h> + #include <sys/wait.h> ++#include <sys/resource.h> + + #include <security/_pam_macros.h> +
meta/recipes-extended/pam/libpam_1.1.5.bb +4 -2
@@ -9,12 +9,14 @@ SECTION = "base" LICENSE = "GPLv2+ | BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" -PR = "r3" +PR = "r4" SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \ file://99_pam \ file://pam.d/* \ - file://libpam-xtests.patch" + file://libpam-xtests.patch \ + file://include-sys-resource.patch \ + " SRC_URI_append_libc-uclibc = " file://pam-no-innetgr.patch"
Signature · 1 line
1.7.9.5
PATCH 14/19 gcc-cross-initial.inc: Use BFD ld as default always
In reply to Khem RajWhen using gold as default linker in final toolchain gcc-cross-initial still needs to use BFD ld since it will link eglibc-initial
--- meta/recipes-devtools/gcc/gcc-cross-initial.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/gcc/gcc-cross-initial.inc +1 -0
@@ -21,6 +21,7 @@ EXTRA_OECONF = "--with-newlib \ --with-sysroot=${STAGING_DIR_TARGET} \ --with-build-sysroot=${STAGING_DIR_TARGET} \ ${EXTRA_OECONF_INITIAL} \ + ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}ld.bfd', '', d)} \ ${@get_gcc_fpu_setting(bb, d)}" do_compile () {
Signature · 1 line
1.7.9.5
PATCH 15/19 gcc: Switch to git SRC_URI
In reply to Khem Rajsvn has been giving troubles with svn 1.7 upgrade
--- meta/recipes-devtools/gcc/gcc-4.7.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
meta/recipes-devtools/gcc/gcc-4.7.inc +5 -5
@@ -8,7 +8,7 @@ PR = "r2" # on branch then PV should be incremented to 4.7.2+svnr${SRCPV} # to reflect that change -PV = "4.7.1+svnr${SRCPV}" +PV = "4.7.1+git${SRCPV}" # BINV should be incremented after updating to a revision # after a minor gcc release (e.g. 4.7.1 or 4.7.2) has been made
@@ -18,7 +18,7 @@ PV = "4.7.1+svnr${SRCPV}" BINV = "4.7.2" -SRCREV = "188658" +SRCREV = "d07e24f4ab59f264d68d21838795349faab5dede" BRANCH = "gcc-4_7-branch" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"
@@ -33,7 +33,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8" -SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ +SRC_URI = "git://github.com/mirrors/gcc.git;branch=${BRANCH};proto=git \ file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ file://100-uclibc-conf.patch \ file://gcc-uclibc-locale-ctype_touplow_t.patch \
@@ -70,8 +70,8 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://fix-g++-sysroot.patch \ " -S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}" -B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}" +S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git" +B = "${WORKDIR}/git/build.${HOST_SYS}.${TARGET_SYS}" # Language Overrides FORTRAN = ""
Signature · 1 line
1.7.9.5
PATCH 16/19 binutils: Backport the e5500/e6500 patches from mainline
In reply to Khem RajThis updates the E5500 and E6500 support patches
as they have been applied upstream binutils.
--- meta/recipes-devtools/binutils/binutils-2.22.inc | 2 +- .../binutils/binutils/binutils-powerpc-e5500.patch | 918 +++++++++++++++++++- 2 files changed, 872 insertions(+), 48 deletions(-)
meta/recipes-devtools/binutils/binutils-2.22.inc +1 -1
@@ -1,4 +1,4 @@ -PR = "r10" +PR = "r11" LIC_FILES_CHKSUM="\ file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch +871 -47
980 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH 17/19 gcc: Refresh support for fsl E5500/E6500
In reply to Khem RajThese patches are backport from gcc mainline
they fix issues where eglibc was not compilable
for e5500+ due to missing vector intrinsics
It obsoletes the existing e5500 patch
---
meta/recipes-devtools/gcc/gcc-4.7.inc | 7 +-
.../gcc/gcc-4.7/define_insn_reservation.patch | 118 +++
.../gcc/gcc-4.7/ppc_with_cpu.patch | 752 ++++++++++++++++++++
...pc-e5500.patch => ppce5500-e6500-support.patch} | 560 +++++++++++----
.../gcc/gcc-4.7/rs6000-tables.patch | 135 ++++
5 files changed, 1412 insertions(+), 160 deletions(-)
create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch
rename meta/recipes-devtools/gcc/gcc-4.7/{powerpc-e5500.patch => ppce5500-e6500-support.patch} (41%)
create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patchmeta/recipes-devtools/gcc/gcc-4.7.inc +5 -2
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r2" +PR = "r3" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.7.1
@@ -59,7 +59,10 @@ SRC_URI = "git://github.com/mirrors/gcc.git;branch=${BRANCH};proto=git \ file://disable_relax_pic_calls_flag.patch \ file://COLLECT_GCC_OPTIONS.patch \ file://use-defaults.h-and-t-oe-in-B.patch \ - file://powerpc-e5500.patch \ + file://ppc_with_cpu.patch \ + file://ppce5500-e6500-support.patch \ + file://rs6000-tables.patch \ + file://define_insn_reservation.patch \ file://pr32219.patch \ file://fortran-cross-compile-hack.patch \ file://libgcc-sjlj-check.patch \
meta/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patch new file +118 -0
118 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch new file +752 -0
752 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.7/ppce5500-e6500-support.patch renamed from meta/recipes-devtools/gcc/gcc-4.7/powerpc-e5500.patch +402 -158
695 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patch new file +135 -0
135 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH 18/19 qemu: Explicitly add --disable-gl-accel when gl is not enabled
In reply to Khem RajDefault seems to be to enable GL accelaration so when gl is not specified in PACKAGECONFIG then add the --disable-gl-accel to really disable it.
--- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/qemu/qemu.inc +1 -1
@@ -38,7 +38,7 @@ do_install () { } PACKAGECONFIG ??= "gl" -PACKAGECONFIG[gl] = "--enable-gl-accel,,," +PACKAGECONFIG[gl] = "--enable-gl-accel,--disable-gl-accel,," DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native" DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk glib-2.0-nativesdk \
Signature · 1 line
1.7.9.5
PATCH 19/19 eglibc: Add recipes for 2.16 release
In reply to Khem RajDrop the patches that were either applied
or fixed differenly in 2.16
Add patches to fix ppc spe patches to match
eglibc 2.16
Fix CPPFLAGS to contain correct includepaths
so autoconf cache is generated correctly
--- .../eglibc/cross-localedef-native_2.16.bb | 44 ++ .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch | 108 ++++ .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch | 17 + .../eglibc-svn-arm-lowlevellock-include-tls.patch | 21 + .../eglibc_fix_findidx_parameters.patch | 38 ++ .../eglibc/eglibc-2.16/generate-supported.mk | 11 + .../eglibc/eglibc-2.16/initgroups_keys.patch | 20 + .../eglibc/eglibc-2.16/ld-search-order.patch | 56 ++ .../eglibc/eglibc-2.16/mips-rld-map-check.patch | 26 + .../eglibc/eglibc-2.16/multilib_readlib.patch | 17 + .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch | 538 ++++++++++++++++++++ .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 112 ++++ .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch | 123 +++++ .../eglibc/eglibc-2.16/rpc-bootstrap.patch | 63 +++ .../eglibc-2.16/use-sysroot-cxx-headers.patch | 42 ++ meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 6 + meta/recipes-core/eglibc/eglibc-locale_2.16.bb | 1 + meta/recipes-core/eglibc/eglibc_2.16.bb | 146 ++++++ 18 files changed, 1389 insertions(+) create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb
meta/recipes-core/eglibc/cross-localedef-native_2.16.bb new file +44 -0
@@ -0,0 +1,44 @@ +DESCRIPTION = "Cross locale generation tool for eglibc" +HOMEPAGE = "http://www.eglibc.org/home" +SECTION = "libs" +LICENSE = "LGPL-2.1" + +LIC_DIR = "${WORKDIR}/${EGLIBC_BRANCH}/libc" +LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9\ + file://${LIC_DIR}/COPYING;md5=393a5ca445f6965873eca0259a17f833 \ + file://${LIC_DIR}/posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ + file://${LIC_DIR}/COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff " + + +inherit native +inherit autotools + +PR = "r0" +SRCREV="19383" +EGLIBC_BRANCH="eglibc-2_16" +SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http " +S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef" + +do_unpack_append() { + bb.build.exec_func('do_move_ports', d) +} + +do_move_ports() { + if test -d ${WORKDIR}/${EGLIBC_BRANCH}/ports ; then + rm -rf ${WORKDIR}/libc/ports + mv ${WORKDIR}/${EGLIBC_BRANCH}/ports ${WORKDIR}/libc/ + fi +} + +EXTRA_OECONF = "--with-glibc=${WORKDIR}/${EGLIBC_BRANCH}/libc" +CFLAGS += "-DNOT_IN_libc=1" + +do_configure () { + ./configure ${EXTRA_OECONF} +} + + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/localedef ${D}${bindir}/cross-localedef +}
meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch new file +108 -0
108 lines not on this page · raw message
meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch new file +17 -0
@@ -0,0 +1,17 @@ +import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html + +Upstream-Status: Pending + +Index: libc/bits/stdio-lock.h +=================================================================== +--- libc.orig/bits/stdio-lock.h 2009-10-28 14:34:19.000000000 -0700 ++++ libc/bits/stdio-lock.h 2009-10-28 14:34:54.000000000 -0700 +@@ -50,6 +50,8 @@ __libc_lock_define_recursive (typedef, _ + _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \ + _IO_flockfile (_fp) + ++# define _IO_acquire_lock_clear_flags2(_fp) _IO_acquire_lock (_fp) ++ + # define _IO_release_lock(_fp) \ + _IO_funlockfile (_fp); \ + _IO_cleanup_region_end (0)
meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch new file +21 -0
@@ -0,0 +1,21 @@ +In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21: +../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function '__lll_lock_wait_private': +../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: warning: implicit declaration of function 'THREAD_GETMEM' +../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: 'THREAD_SELF' undeclared (first use in this function) +../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: (Each undeclared identifier is reported only once +../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: for each function it appears in.) +../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:34: error: 'header' undeclared (first use in this function) +make[4]: *** [/var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-armv4l-unknown-linux-gnu-nptl/nptl/rtld-libc-lowlevellock.os] Error 1 + +Upstream-Status: Pending + +--- libc/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h.orig ++++ libc/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h +@@ -25,6 +25,7 @@ + #include <atomic.h> + #include <sysdep.h> + #include <kernel-features.h> ++#include <tls.h> + + #define FUTEX_WAIT 0 + #define FUTEX_WAKE 1
meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch new file +38 -0
@@ -0,0 +1,38 @@ +Upstream-Status: backport + +Imported patch from: http://www.eglibc.org/archives/patches/msg01124.html + +Signed-Off-By: Nitin A Kamble <[email protected]> +2012/05/09 + +Index: libc/posix/xregex.c +=================================================================== +--- libc.orig/posix/xregex.c ++++ libc/posix/xregex.c +@@ -2943,7 +2943,7 @@ PREFIX(regex_compile) (const char *ARG_P + _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_INDIRECTWC); + +- idx = findidx ((const wint_t**)&cp); ++ idx = findidx ((const wint_t**)&cp, -1); + if (idx == 0 || cp < (wint_t*) str + c1) + /* This is no valid character. */ + FREE_STACK_RETURN (REG_ECOLLATE); +@@ -3392,7 +3392,7 @@ PREFIX(regex_compile) (const char *ARG_P + indirect = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_INDIRECTMB); + +- idx = findidx (&cp); ++ idx = findidx (&cp, -1); + if (idx == 0 || cp < str + c1) + /* This is no valid character. */ + FREE_STACK_RETURN (REG_ECOLLATE); +@@ -6363,7 +6363,7 @@ byte_re_match_2_internal (struct re_patt + } + str_buf[i] = TRANSLATE(*(d+i)); + str_buf[i+1] = '\0'; /* sentinel */ +- idx2 = findidx ((const wint_t**)&cp); ++ idx2 = findidx ((const wint_t**)&cp, -1); + } + + /* Update d, however d will be incremented at
meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf new file +0 -0
meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk new file +11 -0
@@ -0,0 +1,11 @@ +#!/usr/bin/make + +include $(IN) + +all: + rm -f $(OUT) + touch $(OUT) + for locale in $(SUPPORTED-LOCALES); do \ + [ $$locale = true ] && continue; \ + echo $$locale | sed 's,/, ,' >> $(OUT); \ + done
meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch new file +20 -0
@@ -0,0 +1,20 @@ +This is needed since initgroups belongs to NET group +so when NET is disabled in eglibc build then it reports +as undefined symbol + +Signed-off-by: Khem Raj <[email protected]> +Upstream-Status: Pending + +Index: libc/nss/getent.c +=================================================================== +--- libc.orig/nss/getent.c 2012-03-09 09:41:57.099581559 -0800 ++++ libc/nss/getent.c 2012-03-09 09:42:13.095582334 -0800 +@@ -898,7 +898,7 @@ + D(group) + D(gshadow) + DN(hosts) +-D(initgroups) ++DN(initgroups) + DN(netgroup) + DN(networks) + D(passwd)
meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch new file +56 -0
56 lines not on this page · raw message
meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch new file +26 -0
@@ -0,0 +1,26 @@ + +On mips target, binutils currently sets DT_MIPS_RLD_MAP to 0 in dynamic +section if a --version-script sets _RLD_MAP to local. This is apparently +a binutils bug, but libc shouldn't segfault in this case. + +see also: http://sourceware.org/bugilla/show_bug.cgi?id=11615 + +Upstream-Status: Pending + +9/19/2010 - added by Qing He <[email protected]> + + +--- +diff -ru glibc-2.10.1.orig/ports/sysdeps/mips/dl-machine.h glibc-2.10.1/ports/sysdeps/mips/dl-machine.h +--- glibc-2.10.1.orig/ports/sysdeps/mips/dl-machine.h 2009-05-16 16:36:20.000000000 +0800 ++++ glibc-2.10.1/ports/sysdeps/mips/dl-machine.h 2010-09-19 09:11:53.000000000 +0800 +@@ -70,7 +70,8 @@ + /* If there is a DT_MIPS_RLD_MAP entry in the dynamic section, fill it in + with the run-time address of the r_debug structure */ + #define ELF_MACHINE_DEBUG_SETUP(l,r) \ +-do { if ((l)->l_info[DT_MIPS (RLD_MAP)]) \ ++do { if ((l)->l_info[DT_MIPS (RLD_MAP)] && \ ++ (l)->l_info[DT_MIPS (RLD_MAP)]->d_un.d_ptr) \ + *(ElfW(Addr) *)((l)->l_info[DT_MIPS (RLD_MAP)]->d_un.d_ptr) = \ + (ElfW(Addr)) (r); \ + } while (0)
meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch new file +17 -0
@@ -0,0 +1,17 @@ +Upstream-Status: Inappropriate [embedded specific] + +Replace the OECORE_KNOWN_INTERPRETER_NAMES with the value of +variable EGLIBC_KNOWN_INTERPRETER_NAMES. + +Lianhao Lu, 08/01/2011 + +--- libc/elf/readlib.c.orig 2011-08-12 17:05:51.864470837 +0800 ++++ libc/elf/readlib.c 2011-08-12 17:06:39.346942074 +0800 +@@ -52,6 +52,7 @@ + #ifdef SYSDEP_KNOWN_INTERPRETER_NAMES + SYSDEP_KNOWN_INTERPRETER_NAMES + #endif ++ OECORE_KNOWN_INTERPRETER_NAMES + }; + + static struct known_names known_libs[] =
meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch new file +538 -0
538 lines not on this page · raw message
meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch new file +112 -0
112 lines not on this page · raw message
meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch new file +123 -0
123 lines not on this page · raw message
meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch new file +63 -0
63 lines not on this page · raw message
meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-core/eglibc/eglibc-initial_2.16.bb new file +6 -0
@@ -0,0 +1,6 @@ +require eglibc_${PV}.bb +require eglibc-initial.inc + +do_configure_prepend () { + unset CFLAGS +}
meta/recipes-core/eglibc/eglibc-locale_2.16.bb new file +1 -0
@@ -0,0 +1 @@ +require eglibc-locale.inc
meta/recipes-core/eglibc/eglibc_2.16.bb new file +146 -0
146 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Quoted 31 lines · Khem Raj
V2:
Additionally, changed gcc to use git fetcher
update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc rpc patch needed for cross build from scratch
Updates the gets patch for busybox now its a backport instead of
home grown.bitbake world works clean for ppc/x86/x86_64 , for mips and arm the failures are prexisting.
mips - webkit and pseudo fail to build
arm - guile-2.0 and pseudo fail to buildV1:
This patch adds eglibc 2.16 recipes. I was able to build world on x86 except perf which was failing with 2.15 as well.I have also build and run core-image-sato on all qemus
I did not remove 2.15 to allow some soak in time.
The following changes since commit
8f16811a8d51982a8b3d70e6087aef4a41926840:bootimg: Use
STAGING_KERNEL_DIR(2012-07-06 09:38:17 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16
Quoted 16 lines
Khem Raj (19):
mirrors: Add debian archive snapshot mirrors to search list
gdb: Replace struct siginfo with propersiginfo_t
busybox: Includesys/resource.hfor rusage definition
coreutils: Fix build with eglibc 2.16
diffutils: Fix build with eglibc 2.16
udev: Fix build with eglibc 2.16 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
bison: Fix for gets being removed from eglibc 2.16 grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
boost: Upgrade recipe to 1.50.0
puzzles: Fix checksums
valgrind: Fix build with eglibc 2.16
libpam: Fix build with eglibc 2.16
gcc-cross-initial.inc: Use BFD ld as default always
gcc: Switch to gitSRC_URI
The above patch has been updated to include changing S value in gcc-common.inc which was missing in last patch additionally another patch is added where do_headerfix is converted into a static patch
Quoted 116 lines
binutils: Backport the e5500/e6500 patches from mainline
gcc: Refresh support for fsl E5500/E6500
qemu: Explicitly add --disable-gl-accel when gl is not enabled
eglibc: Add recipes for 2.16 releasemeta/classes/mirrors.bbclass | 4 +- meta/recipes-bsp/grub/grub-1.99/remove-gets.patch | 20 + meta/recipes-bsp/grub/grub_1.99.bb | 3 +- .../busybox/busybox-1.19.4/sys_resource.patch | 99 +++ meta/recipes-core/busybox/busybox_1.19.4.bb | 3 +- .../coreutils/coreutils-8.14/remove-gets.patch | 23 + meta/recipes-core/coreutils/coreutils_8.14.bb | 3 +- .../eglibc/cross-localedef-native_2.16.bb | 44 + .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch | 108 +++ .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch | 17 + .../eglibc-svn-arm-lowlevellock-include-tls.patch | 21 + .../eglibc_fix_findidx_parameters.patch | 38 + .../eglibc/eglibc-2.16/generate-supported.mk | 11 + .../eglibc/eglibc-2.16/initgroups_keys.patch | 20 + .../eglibc/eglibc-2.16/ld-search-order.patch | 56 ++ .../eglibc/eglibc-2.16/mips-rld-map-check.patch | 26 + .../eglibc/eglibc-2.16/multilib_readlib.patch | 17 + .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch | 538 ++++++++++++ .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 112 +++ .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch | 123 +++ .../eglibc/eglibc-2.16/rpc-bootstrap.patch | 63 ++ .../eglibc-2.16/use-sysroot-cxx-headers.patch | 42 + meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 6 + meta/recipes-core/eglibc/eglibc-locale_2.16.bb | 1 + meta/recipes-core/eglibc/eglibc_2.16.bb | 146 ++++ .../gettext/gettext-0.18.1.1/remove_gets.patch | 58 ++ meta/recipes-core/gettext/gettext_0.18.1.1.bb | 3 +- meta/recipes-core/udev/udev/include_resource.patch | 31 + meta/recipes-core/udev/udev_164.bb | 7 +- meta/recipes-devtools/binutils/binutils-2.22.inc | 2 +- .../binutils/binutils/binutils-powerpc-e5500.patch | 918 +++++++++++++++++++- .../recipes-devtools/bison/bison/remove-gets.patch | 20 + meta/recipes-devtools/bison/bison_2.5.bb | 6 +- meta/recipes-devtools/gcc/gcc-4.7.inc | 17 +- .../gcc/gcc-4.7/define_insn_reservation.patch | 118 +++ .../gcc/gcc-4.7/ppc_with_cpu.patch | 752 ++++++++++++++++ ...pc-e5500.patch => ppce5500-e6500-support.patch} | 560 ++++++++---- .../gcc/gcc-4.7/rs6000-tables.patch | 135 +++ meta/recipes-devtools/gcc/gcc-cross-initial.inc | 1 + meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-devtools/gdb/gdb.inc | 1 + meta/recipes-devtools/gdb/gdb/siginfo_t.patch | 403 +++++++++ .../recipes-devtools/guile/files/remove-gets.patch | 23 + meta/recipes-devtools/guile/guile_2.0.5.bb | 3 +- meta/recipes-devtools/m4/m4-1.4.16.inc | 6 +- meta/recipes-devtools/m4/m4/remove-gets.patch | 21 + meta/recipes-devtools/qemu/qemu.inc | 2 +- .../valgrind-3.7.0/configure-with-glibc-2.16.patch | 32 + meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | 6 +- .../augeas/augeas/remove-gets.patch | 20 + meta/recipes-extended/augeas/augeas_0.10.0.bb | 4 +- .../cpio/cpio-2.11/remove-gets.patch | 20 + meta/recipes-extended/cpio/cpio_2.11.bb | 5 +- .../diffutils/diffutils-3.2/remove-gets.patch | 22 + meta/recipes-extended/diffutils/diffutils_3.2.bb | 6 +- .../pam/libpam/include-sys-resource.patch | 12 + meta/recipes-extended/pam/libpam_1.1.5.bb | 6 +- .../tar/tar-1.26/remove-gets.patch | 20 + meta/recipes-extended/tar/tar_1.26.bb | 5 +- .../wget/wget-1.13.4/remove-gets.patch | 23 + meta/recipes-extended/wget/wget_1.13.4.bb | 3 +- meta/recipes-sato/puzzles/puzzles_r9561.bb | 11 +- .../boost/{boost_1.49.0.bb => boost_1.50.0.bb} | 5 +- .../gnutls/gnutls/remove-gets.patch | 41 + meta/recipes-support/gnutls/gnutls_2.12.20.bb | 3 +- 65 files changed, 4629 insertions(+), 248 deletions(-) create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch create mode 100644 meta/recipes-core/udev/udev/include_resource.patch create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch rename meta/recipes-devtools/gcc/gcc-4.7/{powerpc-e5500.patch => ppce5500-e6500-support.patch} (41%) create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patch create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%) create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patch--
1.7.9.5
Khem,
Not sure if this one is on your radar:
Quoted 13 lines
| builtin-sched.c: In function 'get_cpu_usage_nsec_parent': | builtin-sched.c:396:16: error: storage size of 'ru' isn't known | builtin-sched.c:400:2: error: implicit declaration of function 'getrusage' [-Werror=implicit-function-declaration] | builtin-sched.c:400:2: error: nested extern declaration of 'getrusage' [-Werror=nested-externs] | builtin-sched.c:400:18: error: 'RUSAGE_SELF' undeclared (first use in this function) | builtin-sched.c:400:18: note: each undeclared identifier is reported only once for each function it appears in | builtin-sched.c:396:16: error: unused variable 'ru' [-Werror=unused-variable] | cc1: all warnings being treated as errors | make: *** [/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/perf-3.4-r1/perf-3.4/builtin-sched.o] Error 1 | make: *** Waiting for unfinished jobs.... | make: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/routerstationpro/usr/src/kernel/tools/perf' | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/perf-3.4-r1/temp/log.do_compile.25734 for further information)
Quoted 1 line
NOTE: package perf-3.4-r1: task
do_compile: Failed
I found it when building with the autobuilder, not sure is this is due to the newer perf changes or the compiler itself.
Sau!
Quoted 160 lines · Khem Raj
V2:
Additionally, changed gcc to use git fetcher
update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc rpc patch needed for cross build from scratch
Updates the gets patch for busybox now its a backport instead of
home grown.bitbake world works clean for ppc/x86/x86_64 , for mips and arm the failures are prexisting.
mips - webkit and pseudo fail to build
arm - guile-2.0 and pseudo fail to buildV1:
This patch adds eglibc 2.16 recipes. I was able to build world on x86 except perf which was failing with 2.15 as well.I have also build and run core-image-sato on all qemus
I did not remove 2.15 to allow some soak in time.
The following changes since commit
8f16811a8d51982a8b3d70e6087aef4a41926840:bootimg: Use STAGING_KERNEL_DIR (2012-07-06 09:38:17 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16Khem Raj (19):
mirrors: Add debian archive snapshot mirrors to search list
gdb: Replace struct siginfo with propersiginfo_t
busybox: Includesys/resource.hfor rusage definition
coreutils: Fix build with eglibc 2.16
diffutils: Fix build with eglibc 2.16
udev: Fix build with eglibc 2.16 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
bison: Fix for gets being removed from eglibc 2.16 grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
boost: Upgrade recipe to 1.50.0
puzzles: Fix checksums
valgrind: Fix build with eglibc 2.16
libpam: Fix build with eglibc 2.16
gcc-cross-initial.inc: Use BFD ld as default always
gcc: Switch to gitSRC_URI
binutils: Backport the e5500/e6500 patches from mainline
gcc: Refresh support for fsl E5500/E6500
qemu: Explicitly add --disable-gl-accel when gl is not enabled
eglibc: Add recipes for 2.16 releasemeta/classes/mirrors.bbclass | 4 +- meta/recipes-bsp/grub/grub-1.99/remove-gets.patch | 20 + meta/recipes-bsp/grub/grub_1.99.bb | 3 +- .../busybox/busybox-1.19.4/sys_resource.patch | 99 +++ meta/recipes-core/busybox/busybox_1.19.4.bb | 3 +- .../coreutils/coreutils-8.14/remove-gets.patch | 23 + meta/recipes-core/coreutils/coreutils_8.14.bb | 3 +- .../eglibc/cross-localedef-native_2.16.bb | 44 + .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch | 108 +++ .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch | 17 + .../eglibc-svn-arm-lowlevellock-include-tls.patch | 21 + .../eglibc_fix_findidx_parameters.patch | 38 + .../eglibc/eglibc-2.16/generate-supported.mk | 11 + .../eglibc/eglibc-2.16/initgroups_keys.patch | 20 + .../eglibc/eglibc-2.16/ld-search-order.patch | 56 ++ .../eglibc/eglibc-2.16/mips-rld-map-check.patch | 26 + .../eglibc/eglibc-2.16/multilib_readlib.patch | 17 + .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch | 538 ++++++++++++ .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 112 +++ .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch | 123 +++ .../eglibc/eglibc-2.16/rpc-bootstrap.patch | 63 ++ .../eglibc-2.16/use-sysroot-cxx-headers.patch | 42 + meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 6 + meta/recipes-core/eglibc/eglibc-locale_2.16.bb | 1 + meta/recipes-core/eglibc/eglibc_2.16.bb | 146 ++++ .../gettext/gettext-0.18.1.1/remove_gets.patch | 58 ++ meta/recipes-core/gettext/gettext_0.18.1.1.bb | 3 +- meta/recipes-core/udev/udev/include_resource.patch | 31 + meta/recipes-core/udev/udev_164.bb | 7 +- meta/recipes-devtools/binutils/binutils-2.22.inc | 2 +- .../binutils/binutils/binutils-powerpc-e5500.patch | 918 +++++++++++++++++++- .../recipes-devtools/bison/bison/remove-gets.patch | 20 + meta/recipes-devtools/bison/bison_2.5.bb | 6 +- meta/recipes-devtools/gcc/gcc-4.7.inc | 17 +- .../gcc/gcc-4.7/define_insn_reservation.patch | 118 +++ .../gcc/gcc-4.7/ppc_with_cpu.patch | 752 ++++++++++++++++ ...pc-e5500.patch => ppce5500-e6500-support.patch} | 560 ++++++++---- .../gcc/gcc-4.7/rs6000-tables.patch | 135 +++ meta/recipes-devtools/gcc/gcc-cross-initial.inc | 1 + meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-devtools/gdb/gdb.inc | 1 + meta/recipes-devtools/gdb/gdb/siginfo_t.patch | 403 +++++++++ .../recipes-devtools/guile/files/remove-gets.patch | 23 + meta/recipes-devtools/guile/guile_2.0.5.bb | 3 +- meta/recipes-devtools/m4/m4-1.4.16.inc | 6 +- meta/recipes-devtools/m4/m4/remove-gets.patch | 21 + meta/recipes-devtools/qemu/qemu.inc | 2 +- .../valgrind-3.7.0/configure-with-glibc-2.16.patch | 32 + meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | 6 +- .../augeas/augeas/remove-gets.patch | 20 + meta/recipes-extended/augeas/augeas_0.10.0.bb | 4 +- .../cpio/cpio-2.11/remove-gets.patch | 20 + meta/recipes-extended/cpio/cpio_2.11.bb | 5 +- .../diffutils/diffutils-3.2/remove-gets.patch | 22 + meta/recipes-extended/diffutils/diffutils_3.2.bb | 6 +- .../pam/libpam/include-sys-resource.patch | 12 + meta/recipes-extended/pam/libpam_1.1.5.bb | 6 +- .../tar/tar-1.26/remove-gets.patch | 20 + meta/recipes-extended/tar/tar_1.26.bb | 5 +- .../wget/wget-1.13.4/remove-gets.patch | 23 + meta/recipes-extended/wget/wget_1.13.4.bb | 3 +- meta/recipes-sato/puzzles/puzzles_r9561.bb | 11 +- .../boost/{boost_1.49.0.bb => boost_1.50.0.bb} | 5 +- .../gnutls/gnutls/remove-gets.patch | 41 + meta/recipes-support/gnutls/gnutls_2.12.20.bb | 3 +- 65 files changed, 4629 insertions(+), 248 deletions(-)create mode 100644
meta/recipes-bsp/grub/grub-1.99/remove-gets.patch
create mode 100644meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patchcreate mode 100644meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patchcreate mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb
create mode 100644meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf
create mode 100644meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk
create mode 100644meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch
create mode 100644meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch
create mode 100644meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch
create mode 100644meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch
create mode 100644meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patchcreate mode 100644meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
create mode 100644meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patchcreate mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb
create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb
create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb
create mode 100644meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patchcreate mode 100644meta/recipes-core/udev/udev/include_resource.patch
create mode 100644meta/recipes-devtools/bison/bison/remove-gets.patch
create mode 100644meta/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patchcreate mode 100644meta/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch
renamemeta/recipes-devtools/gcc/gcc-4.7/{powerpc-e5500.patch=> ppce5500-e6500-support.patch} (41%) create mode 100644meta/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patch
create mode 100644meta/recipes-devtools/gdb/gdb/siginfo_t.patch
create mode 100644meta/recipes-devtools/guile/files/remove-gets.patch
create mode 100644meta/recipes-devtools/m4/m4/remove-gets.patch
create mode 100644meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patchcreate mode 100644meta/recipes-extended/augeas/augeas/remove-gets.patch
create mode 100644meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch
create mode 100644meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patchcreate mode 100644meta/recipes-extended/pam/libpam/include-sys-resource.patchcreate mode 100644meta/recipes-extended/tar/tar-1.26/remove-gets.patch
create mode 100644meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch
rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%)
create mode 100644meta/recipes-support/gnutls/gnutls/remove-gets.patch
Quoted 18 lines · Saul Wold
Khem,
Not sure if this one is on your radar:
Quoted 13 lines
| builtin-sched.c: In function 'get_cpu_usage_nsec_parent': | builtin-sched.c:396:16: error: storage size of 'ru' isn't known | builtin-sched.c:400:2: error: implicit declaration of function'getrusage' [-Werror=implicit-function-declaration]
| builtin-sched.c:400:2: error: nested extern declaration of 'getrusage' [-Werror=nested-externs]
| builtin-sched.c:400:18: error: 'RUSAGE_SELF' undeclared (first use in this function)
| builtin-sched.c:400:18: note: each undeclared identifier is reported only once for each function it appears in
| builtin-sched.c:396:16: error: unused variable 'ru' [-Werror=unused-variable]
| cc1: all warnings being treated as errors
Saul
I did not get this probably this is combination of new libc and new perf Can you aff
#include <sys/resource.h>
tobuiltin-sched.c in perf sources
and see if that solves the issue.
-Khem
Quoted 31 lines · Khem Raj
V2:
Additionally, changed gcc to use git fetcher
update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc rpc patch needed for cross build from scratch
Updates the gets patch for busybox now its a backport instead of
home grown.bitbake world works clean for ppc/x86/x86_64 , for mips and arm the failures are prexisting.
mips - webkit and pseudo fail to build
arm - guile-2.0 and pseudo fail to buildV1:
This patch adds eglibc 2.16 recipes. I was able to build world on x86 except perf which was failing with 2.15 as well.I have also build and run core-image-sato on all qemus
I did not remove 2.15 to allow some soak in time.
The following changes since commit
8f16811a8d51982a8b3d70e6087aef4a41926840:bootimg: Use
STAGING_KERNEL_DIR(2012-07-06 09:38:17 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16
Quoted 16 lines
Khem Raj (19):
mirrors: Add debian archive snapshot mirrors to search list
gdb: Replace struct siginfo with propersiginfo_t
busybox: Includesys/resource.hfor rusage definition
coreutils: Fix build with eglibc 2.16
diffutils: Fix build with eglibc 2.16
udev: Fix build with eglibc 2.16 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
bison: Fix for gets being removed from eglibc 2.16 grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
boost: Upgrade recipe to 1.50.0
puzzles: Fix checksums
valgrind: Fix build with eglibc 2.16
libpam: Fix build with eglibc 2.16
gcc-cross-initial.inc: Use BFD ld as default always
gcc: Switch to gitSRC_URI
more testing shows that switching to git is causing do_unpack tasks from various gcc recipes to have
different checksums and that triggers rerun of do_patch do_unpack tasks in shared workdir and does not
go well. so I pulled the above commit out for now until we sort the real reason why this is happening by just switching the fetcher
second problem is that it messed the upgrade path since 's'vn sorts after 'g'it and they appear in PV
latest patch to switch the URI is here
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=81b8073a82fd480e6a5d011a3c8a28ad5fbe542f
anyone ideas ?
Quoted 116 lines
binutils: Backport the e5500/e6500 patches from mainline
gcc: Refresh support for fsl E5500/E6500
qemu: Explicitly add --disable-gl-accel when gl is not enabled
eglibc: Add recipes for 2.16 releasemeta/classes/mirrors.bbclass | 4 +- meta/recipes-bsp/grub/grub-1.99/remove-gets.patch | 20 + meta/recipes-bsp/grub/grub_1.99.bb | 3 +- .../busybox/busybox-1.19.4/sys_resource.patch | 99 +++ meta/recipes-core/busybox/busybox_1.19.4.bb | 3 +- .../coreutils/coreutils-8.14/remove-gets.patch | 23 + meta/recipes-core/coreutils/coreutils_8.14.bb | 3 +- .../eglibc/cross-localedef-native_2.16.bb | 44 + .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch | 108 +++ .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch | 17 + .../eglibc-svn-arm-lowlevellock-include-tls.patch | 21 + .../eglibc_fix_findidx_parameters.patch | 38 + .../eglibc/eglibc-2.16/generate-supported.mk | 11 + .../eglibc/eglibc-2.16/initgroups_keys.patch | 20 + .../eglibc/eglibc-2.16/ld-search-order.patch | 56 ++ .../eglibc/eglibc-2.16/mips-rld-map-check.patch | 26 + .../eglibc/eglibc-2.16/multilib_readlib.patch | 17 + .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch | 538 ++++++++++++ .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 112 +++ .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch | 123 +++ .../eglibc/eglibc-2.16/rpc-bootstrap.patch | 63 ++ .../eglibc-2.16/use-sysroot-cxx-headers.patch | 42 + meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 6 + meta/recipes-core/eglibc/eglibc-locale_2.16.bb | 1 + meta/recipes-core/eglibc/eglibc_2.16.bb | 146 ++++ .../gettext/gettext-0.18.1.1/remove_gets.patch | 58 ++ meta/recipes-core/gettext/gettext_0.18.1.1.bb | 3 +- meta/recipes-core/udev/udev/include_resource.patch | 31 + meta/recipes-core/udev/udev_164.bb | 7 +- meta/recipes-devtools/binutils/binutils-2.22.inc | 2 +- .../binutils/binutils/binutils-powerpc-e5500.patch | 918 +++++++++++++++++++- .../recipes-devtools/bison/bison/remove-gets.patch | 20 + meta/recipes-devtools/bison/bison_2.5.bb | 6 +- meta/recipes-devtools/gcc/gcc-4.7.inc | 17 +- .../gcc/gcc-4.7/define_insn_reservation.patch | 118 +++ .../gcc/gcc-4.7/ppc_with_cpu.patch | 752 ++++++++++++++++ ...pc-e5500.patch => ppce5500-e6500-support.patch} | 560 ++++++++---- .../gcc/gcc-4.7/rs6000-tables.patch | 135 +++ meta/recipes-devtools/gcc/gcc-cross-initial.inc | 1 + meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-devtools/gdb/gdb.inc | 1 + meta/recipes-devtools/gdb/gdb/siginfo_t.patch | 403 +++++++++ .../recipes-devtools/guile/files/remove-gets.patch | 23 + meta/recipes-devtools/guile/guile_2.0.5.bb | 3 +- meta/recipes-devtools/m4/m4-1.4.16.inc | 6 +- meta/recipes-devtools/m4/m4/remove-gets.patch | 21 + meta/recipes-devtools/qemu/qemu.inc | 2 +- .../valgrind-3.7.0/configure-with-glibc-2.16.patch | 32 + meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | 6 +- .../augeas/augeas/remove-gets.patch | 20 + meta/recipes-extended/augeas/augeas_0.10.0.bb | 4 +- .../cpio/cpio-2.11/remove-gets.patch | 20 + meta/recipes-extended/cpio/cpio_2.11.bb | 5 +- .../diffutils/diffutils-3.2/remove-gets.patch | 22 + meta/recipes-extended/diffutils/diffutils_3.2.bb | 6 +- .../pam/libpam/include-sys-resource.patch | 12 + meta/recipes-extended/pam/libpam_1.1.5.bb | 6 +- .../tar/tar-1.26/remove-gets.patch | 20 + meta/recipes-extended/tar/tar_1.26.bb | 5 +- .../wget/wget-1.13.4/remove-gets.patch | 23 + meta/recipes-extended/wget/wget_1.13.4.bb | 3 +- meta/recipes-sato/puzzles/puzzles_r9561.bb | 11 +- .../boost/{boost_1.49.0.bb => boost_1.50.0.bb} | 5 +- .../gnutls/gnutls/remove-gets.patch | 41 + meta/recipes-support/gnutls/gnutls_2.12.20.bb | 3 +- 65 files changed, 4629 insertions(+), 248 deletions(-) create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch create mode 100644 meta/recipes-core/udev/udev/include_resource.patch create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch rename meta/recipes-devtools/gcc/gcc-4.7/{powerpc-e5500.patch => ppce5500-e6500-support.patch} (41%) create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patch create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%) create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patch--
1.7.9.5
Quoted 56 lines · Khem Raj
Quoted 31 lines · Khem Raj
V2:
Additionally, changed gcc to use git fetcher
update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc rpc patch needed for cross build from scratch
Updates the gets patch for busybox now its a backport instead of
home grown.bitbake world works clean for ppc/x86/x86_64 , for mips and arm the failures are prexisting.
mips - webkit and pseudo fail to build
arm - guile-2.0 and pseudo fail to buildV1:
This patch adds eglibc 2.16 recipes. I was able to build world on x86 except perf which was failing with 2.15 as well.I have also build and run core-image-sato on all qemus
I did not remove 2.15 to allow some soak in time.
The following changes since commit
8f16811a8d51982a8b3d70e6087aef4a41926840:bootimg: Use
STAGING_KERNEL_DIR(2012-07-06 09:38:17 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16Quoted 16 lines
Khem Raj (19):
mirrors: Add debian archive snapshot mirrors to search list
gdb: Replace struct siginfo with propersiginfo_t
busybox: Includesys/resource.hfor rusage definition
coreutils: Fix build with eglibc 2.16
diffutils: Fix build with eglibc 2.16
udev: Fix build with eglibc 2.16 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
bison: Fix for gets being removed from eglibc 2.16 grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
boost: Upgrade recipe to 1.50.0
puzzles: Fix checksums
valgrind: Fix build with eglibc 2.16
libpam: Fix build with eglibc 2.16
gcc-cross-initial.inc: Use BFD ld as default always
gcc: Switch to gitSRC_URImore testing shows that switching to git is causing
do_unpacktasks from various gcc recipes to have
different checksums and that triggers rerun ofdo_patchdo_unpacktasks in shared workdir and does not
go well. so I pulled the above commit out for now until we sort the real reason why this is happening by just switching the fetcher
Quoted 2 lines
second problem is that it messed the upgrade path since 's'vn sorts after 'g'it and they appear in PV
yes wait with svn->git switch for 4.7.2 release and corresponding SRCREV bump
or bump PE in gcc recipes
or bump PR in a lot of packages which has runtime dependency on libstdc++ or libgcc, but this doesn't fix upgrade path for gcc recipes already installed on target :/.
in my tmpdir it is:
vagalume vim x11vnc xchat xinput-calibrator xserver-xorg xz udev systemd tar sylpheed util-linux shadow samba rsync qt4-x11-free speex sysstat pidgin pulseaudio procps polkit postgresql mysql5 php qt-mobility-x11 openssh numptyphysics navit mplayer2 monav mesa-dri pango powertop poppler mcnavi mtd-utils net-tools nfs-utils abiword curl gzip mc mbuffer m4 matchbox-panel-2 matchbox-keyboard ltrace lttng-ust live555 links links-x11 zlib webkit-gtk talloc libtheora tiff gawk gtk+3 ntp libsndfile1 icu kmod libnl perl libsexy librsvg libproxy pixman avahi sqlite libffi gstreamer pangomm gtk+ gst-plugins-base gst-plugins-good expat cairo cairomm fltk gdbm gettext libglade glib-2.0 gmp imlib2 boost webkit-efl flac libpcap ode libvpx vte hdparm gwaterpas qfsodbusxml2cpp python-pygtk python-gst python libvorbis sqlite libsigc++-2.0 libsdl pth popt gpsd libgpewidget gnutls libfso-qt libevent libav iputils iptables iproute2 imagemagick hdparm id3lib gtkmm gtkmathview less aspell libass libdrm emotion evolution-data-server gnuplot groff grep gnome-keyring git gdb fsoaudiod findutils file evopedia evas ethumb epdfview epdf gst-plugin-bluetooth gst-plugins-ugly aurora-daemon alsa-utils bash bind bluez-hcidump claws-plugin-gtkhtml2-viewer claws-plugin-mailmbox claws-plugin-rssyl coreutils dosfstools e-wm e2fsprogs e-wm edje eina elfutils emtooth2 enchant glibmm openssl sqlite3 tremor eglibc gtk-engines bluez4 gstreamer gtkhtml2 dconf-qt alsa-lib claws-mail libgsf libetpan fbreader firefox libidl orbit2
Cheers,
Quoted 127 lines
latest patch to switch the URI is here
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=81b8073a82fd480e6a5d011a3c8a28ad5fbe542fanyone ideas ?
Quoted 113 lines
binutils: Backport the e5500/e6500 patches from mainline
gcc: Refresh support for fsl E5500/E6500
qemu: Explicitly add --disable-gl-accel when gl is not enabled
eglibc: Add recipes for 2.16 releasemeta/classes/mirrors.bbclass | 4 +- meta/recipes-bsp/grub/grub-1.99/remove-gets.patch | 20 + meta/recipes-bsp/grub/grub_1.99.bb | 3 +- .../busybox/busybox-1.19.4/sys_resource.patch | 99 +++ meta/recipes-core/busybox/busybox_1.19.4.bb | 3 +- .../coreutils/coreutils-8.14/remove-gets.patch | 23 + meta/recipes-core/coreutils/coreutils_8.14.bb | 3 +- .../eglibc/cross-localedef-native_2.16.bb | 44 + .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch | 108 +++ .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch | 17 + .../eglibc-svn-arm-lowlevellock-include-tls.patch | 21 + .../eglibc_fix_findidx_parameters.patch | 38 + .../eglibc/eglibc-2.16/generate-supported.mk | 11 + .../eglibc/eglibc-2.16/initgroups_keys.patch | 20 + .../eglibc/eglibc-2.16/ld-search-order.patch | 56 ++ .../eglibc/eglibc-2.16/mips-rld-map-check.patch | 26 + .../eglibc/eglibc-2.16/multilib_readlib.patch | 17 + .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch | 538 ++++++++++++ .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 112 +++ .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch | 123 +++ .../eglibc/eglibc-2.16/rpc-bootstrap.patch | 63 ++ .../eglibc-2.16/use-sysroot-cxx-headers.patch | 42 + meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 6 + meta/recipes-core/eglibc/eglibc-locale_2.16.bb | 1 + meta/recipes-core/eglibc/eglibc_2.16.bb | 146 ++++ .../gettext/gettext-0.18.1.1/remove_gets.patch | 58 ++ meta/recipes-core/gettext/gettext_0.18.1.1.bb | 3 +- meta/recipes-core/udev/udev/include_resource.patch | 31 + meta/recipes-core/udev/udev_164.bb | 7 +- meta/recipes-devtools/binutils/binutils-2.22.inc | 2 +- .../binutils/binutils/binutils-powerpc-e5500.patch | 918 +++++++++++++++++++- .../recipes-devtools/bison/bison/remove-gets.patch | 20 + meta/recipes-devtools/bison/bison_2.5.bb | 6 +- meta/recipes-devtools/gcc/gcc-4.7.inc | 17 +- .../gcc/gcc-4.7/define_insn_reservation.patch | 118 +++ .../gcc/gcc-4.7/ppc_with_cpu.patch | 752 ++++++++++++++++ ...pc-e5500.patch => ppce5500-e6500-support.patch} | 560 ++++++++---- .../gcc/gcc-4.7/rs6000-tables.patch | 135 +++ meta/recipes-devtools/gcc/gcc-cross-initial.inc | 1 + meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-devtools/gdb/gdb.inc | 1 + meta/recipes-devtools/gdb/gdb/siginfo_t.patch | 403 +++++++++ .../recipes-devtools/guile/files/remove-gets.patch | 23 + meta/recipes-devtools/guile/guile_2.0.5.bb | 3 +- meta/recipes-devtools/m4/m4-1.4.16.inc | 6 +- meta/recipes-devtools/m4/m4/remove-gets.patch | 21 + meta/recipes-devtools/qemu/qemu.inc | 2 +- .../valgrind-3.7.0/configure-with-glibc-2.16.patch | 32 + meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | 6 +- .../augeas/augeas/remove-gets.patch | 20 + meta/recipes-extended/augeas/augeas_0.10.0.bb | 4 +- .../cpio/cpio-2.11/remove-gets.patch | 20 + meta/recipes-extended/cpio/cpio_2.11.bb | 5 +- .../diffutils/diffutils-3.2/remove-gets.patch | 22 + meta/recipes-extended/diffutils/diffutils_3.2.bb | 6 +- .../pam/libpam/include-sys-resource.patch | 12 + meta/recipes-extended/pam/libpam_1.1.5.bb | 6 +- .../tar/tar-1.26/remove-gets.patch | 20 + meta/recipes-extended/tar/tar_1.26.bb | 5 +- .../wget/wget-1.13.4/remove-gets.patch | 23 + meta/recipes-extended/wget/wget_1.13.4.bb | 3 +- meta/recipes-sato/puzzles/puzzles_r9561.bb | 11 +- .../boost/{boost_1.49.0.bb => boost_1.50.0.bb} | 5 +- .../gnutls/gnutls/remove-gets.patch | 41 + meta/recipes-support/gnutls/gnutls_2.12.20.bb | 3 +- 65 files changed, 4629 insertions(+), 248 deletions(-) create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch create mode 100644 meta/recipes-core/udev/udev/include_resource.patch create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch rename meta/recipes-devtools/gcc/gcc-4.7/{powerpc-e5500.patch => ppce5500-e6500-support.patch} (41%) create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patch create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%) create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patchQuoted 3 lines
--
1.7.9.5_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 60 lines · Martin Jansa
Quoted 56 lines · Khem Raj
Quoted 31 lines · Khem Raj
V2:
Additionally, changed gcc to use git fetcher
update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc rpc patch needed for cross build from scratch
Updates the gets patch for busybox now its a backport instead of
home grown.bitbake world works clean for ppc/x86/x86_64 , for mips and arm the failures are prexisting.
mips - webkit and pseudo fail to build
arm - guile-2.0 and pseudo fail to buildV1:
This patch adds eglibc 2.16 recipes. I was able to build world on x86 except perf which was failing with 2.15 as well.I have also build and run core-image-sato on all qemus
I did not remove 2.15 to allow some soak in time.
The following changes since commit
8f16811a8d51982a8b3d70e6087aef4a41926840:bootimg: Use
STAGING_KERNEL_DIR(2012-07-06 09:38:17 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16Quoted 16 lines
Khem Raj (19):
mirrors: Add debian archive snapshot mirrors to search list
gdb: Replace struct siginfo with propersiginfo_t
busybox: Includesys/resource.hfor rusage definition
coreutils: Fix build with eglibc 2.16
diffutils: Fix build with eglibc 2.16
udev: Fix build with eglibc 2.16 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
bison: Fix for gets being removed from eglibc 2.16 grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
boost: Upgrade recipe to 1.50.0
puzzles: Fix checksums
valgrind: Fix build with eglibc 2.16
libpam: Fix build with eglibc 2.16
gcc-cross-initial.inc: Use BFD ld as default always
gcc: Switch to gitSRC_URImore testing shows that switching to git is causing
do_unpacktasks from various gcc recipes to have
different checksums and that triggers rerun ofdo_patchdo_unpacktasks in shared workdir and does not
go well. so I pulled the above commit out for now until we sort the real reason why this is happening by just switching the fetcherQuoted 2 lines
second problem is that it messed the upgrade path since 's'vn sorts after 'g'it and they appear in PV
Quoted 8 lines
yes wait with
svn->gitswitch for 4.7.2 release and corresponding SRCREV bumpor bump PE in gcc recipes
or bump PR in a lot of packages which has runtime dependency on libstdc++ or libgcc, but this doesn't fix upgrade path for gcc recipes already installed on target :/.
How about updating to 4.7.1.0 in PV to let us avoid this issue and then this will automatically resolve itself come 4.7.2?
Cheers,
Richard
Quoted 49 lines · Khem Raj
Quoted 31 lines · Khem Raj
V2:
Additionally, changed gcc to use git fetcher
update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc rpc patch needed for cross build from scratch
Updates the gets patch for busybox now its a backport instead of
home grown.bitbake world works clean for ppc/x86/x86_64 , for mips and arm the failures are prexisting.
mips - webkit and pseudo fail to build
arm - guile-2.0 and pseudo fail to buildV1:
This patch adds eglibc 2.16 recipes. I was able to build world on x86 except perf which was failing with 2.15 as well.I have also build and run core-image-sato on all qemus
I did not remove 2.15 to allow some soak in time.
The following changes since commit
8f16811a8d51982a8b3d70e6087aef4a41926840:bootimg: Use
STAGING_KERNEL_DIR(2012-07-06 09:38:17 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/eglibc-2.16
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16Quoted 16 lines
Khem Raj (19):
mirrors: Add debian archive snapshot mirrors to search list
gdb: Replace struct siginfo with propersiginfo_t
busybox: Includesys/resource.hfor rusage definition
coreutils: Fix build with eglibc 2.16
diffutils: Fix build with eglibc 2.16
udev: Fix build with eglibc 2.16 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
bison: Fix for gets being removed from eglibc 2.16 grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
boost: Upgrade recipe to 1.50.0
puzzles: Fix checksums
valgrind: Fix build with eglibc 2.16
libpam: Fix build with eglibc 2.16
gcc-cross-initial.inc: Use BFD ld as default always
gcc: Switch to gitSRC_URI
Quoted 7 lines
more testing shows that switching to git is causing
do_unpacktasks from various gcc recipes to have
different checksums and that triggers rerun ofdo_patchdo_unpacktasks in shared workdir and does not
go well. so I pulled the above commit out for now until we sort the real reason why this is happening by just switching the fetcher
with RPs help we figured out the issue and I have created a patch which fixed this issue the patch is here
Quoted 2 lines
second problem is that it messed the upgrade path since 's'vn sorts after 'g'it and they appear in PV
we are using 4.7.1.0 for now and will drop the .0 when we upgrade part 4.7.2 release this should ensure upgrade paths are intact.
I have updated the pull request with these two changes made in there.
Quoted 122 lines
latest patch to switch the URI is here
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=81b8073a82fd480e6a5d011a3c8a28ad5fbe542fanyone ideas ?
Quoted 116 lines
binutils: Backport the e5500/e6500 patches from mainline
gcc: Refresh support for fsl E5500/E6500
qemu: Explicitly add --disable-gl-accel when gl is not enabled
eglibc: Add recipes for 2.16 releasemeta/classes/mirrors.bbclass | 4 +- meta/recipes-bsp/grub/grub-1.99/remove-gets.patch | 20 + meta/recipes-bsp/grub/grub_1.99.bb | 3 +- .../busybox/busybox-1.19.4/sys_resource.patch | 99 +++ meta/recipes-core/busybox/busybox_1.19.4.bb | 3 +- .../coreutils/coreutils-8.14/remove-gets.patch | 23 + meta/recipes-core/coreutils/coreutils_8.14.bb | 3 +- .../eglibc/cross-localedef-native_2.16.bb | 44 + .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch | 108 +++ .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch | 17 + .../eglibc-svn-arm-lowlevellock-include-tls.patch | 21 + .../eglibc_fix_findidx_parameters.patch | 38 + .../eglibc/eglibc-2.16/generate-supported.mk | 11 + .../eglibc/eglibc-2.16/initgroups_keys.patch | 20 + .../eglibc/eglibc-2.16/ld-search-order.patch | 56 ++ .../eglibc/eglibc-2.16/mips-rld-map-check.patch | 26 + .../eglibc/eglibc-2.16/multilib_readlib.patch | 17 + .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch | 538 ++++++++++++ .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 112 +++ .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch | 123 +++ .../eglibc/eglibc-2.16/rpc-bootstrap.patch | 63 ++ .../eglibc-2.16/use-sysroot-cxx-headers.patch | 42 + meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 6 + meta/recipes-core/eglibc/eglibc-locale_2.16.bb | 1 + meta/recipes-core/eglibc/eglibc_2.16.bb | 146 ++++ .../gettext/gettext-0.18.1.1/remove_gets.patch | 58 ++ meta/recipes-core/gettext/gettext_0.18.1.1.bb | 3 +- meta/recipes-core/udev/udev/include_resource.patch | 31 + meta/recipes-core/udev/udev_164.bb | 7 +- meta/recipes-devtools/binutils/binutils-2.22.inc | 2 +- .../binutils/binutils/binutils-powerpc-e5500.patch | 918 +++++++++++++++++++- .../recipes-devtools/bison/bison/remove-gets.patch | 20 + meta/recipes-devtools/bison/bison_2.5.bb | 6 +- meta/recipes-devtools/gcc/gcc-4.7.inc | 17 +- .../gcc/gcc-4.7/define_insn_reservation.patch | 118 +++ .../gcc/gcc-4.7/ppc_with_cpu.patch | 752 ++++++++++++++++ ...pc-e5500.patch => ppce5500-e6500-support.patch} | 560 ++++++++---- .../gcc/gcc-4.7/rs6000-tables.patch | 135 +++ meta/recipes-devtools/gcc/gcc-cross-initial.inc | 1 + meta/recipes-devtools/gdb/gdb-common.inc | 2 +- meta/recipes-devtools/gdb/gdb.inc | 1 + meta/recipes-devtools/gdb/gdb/siginfo_t.patch | 403 +++++++++ .../recipes-devtools/guile/files/remove-gets.patch | 23 + meta/recipes-devtools/guile/guile_2.0.5.bb | 3 +- meta/recipes-devtools/m4/m4-1.4.16.inc | 6 +- meta/recipes-devtools/m4/m4/remove-gets.patch | 21 + meta/recipes-devtools/qemu/qemu.inc | 2 +- .../valgrind-3.7.0/configure-with-glibc-2.16.patch | 32 + meta/recipes-devtools/valgrind/valgrind_3.7.0.bb | 6 +- .../augeas/augeas/remove-gets.patch | 20 + meta/recipes-extended/augeas/augeas_0.10.0.bb | 4 +- .../cpio/cpio-2.11/remove-gets.patch | 20 + meta/recipes-extended/cpio/cpio_2.11.bb | 5 +- .../diffutils/diffutils-3.2/remove-gets.patch | 22 + meta/recipes-extended/diffutils/diffutils_3.2.bb | 6 +- .../pam/libpam/include-sys-resource.patch | 12 + meta/recipes-extended/pam/libpam_1.1.5.bb | 6 +- .../tar/tar-1.26/remove-gets.patch | 20 + meta/recipes-extended/tar/tar_1.26.bb | 5 +- .../wget/wget-1.13.4/remove-gets.patch | 23 + meta/recipes-extended/wget/wget_1.13.4.bb | 3 +- meta/recipes-sato/puzzles/puzzles_r9561.bb | 11 +- .../boost/{boost_1.49.0.bb => boost_1.50.0.bb} | 5 +- .../gnutls/gnutls/remove-gets.patch | 41 + meta/recipes-support/gnutls/gnutls_2.12.20.bb | 3 +- 65 files changed, 4629 insertions(+), 248 deletions(-) create mode 100644 meta/recipes-bsp/grub/grub-1.99/remove-gets.patch create mode 100644 meta/recipes-core/busybox/busybox-1.19.4/sys_resource.patch create mode 100644 meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch create mode 100644 meta/recipes-core/eglibc/cross-localedef-native_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/IO-acquire-lock-fix.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc-svn-arm-lowlevellock-include-tls.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/eglibc_fix_findidx_parameters.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/etc/ld.so.conf create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/generate-supported.mk create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/initgroups_keys.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ld-search-order.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/mips-rld-map-check.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/multilib_readlib.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc-sqrt_finite.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/use-sysroot-cxx-headers.patch create mode 100644 meta/recipes-core/eglibc/eglibc-initial_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.16.bb create mode 100644 meta/recipes-core/eglibc/eglibc_2.16.bb create mode 100644 meta/recipes-core/gettext/gettext-0.18.1.1/remove_gets.patch create mode 100644 meta/recipes-core/udev/udev/include_resource.patch create mode 100644 meta/recipes-devtools/bison/bison/remove-gets.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/define_insn_reservation.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/ppc_with_cpu.patch rename meta/recipes-devtools/gcc/gcc-4.7/{powerpc-e5500.patch => ppce5500-e6500-support.patch} (41%) create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/rs6000-tables.patch create mode 100644 meta/recipes-devtools/gdb/gdb/siginfo_t.patch create mode 100644 meta/recipes-devtools/guile/files/remove-gets.patch create mode 100644 meta/recipes-devtools/m4/m4/remove-gets.patch create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch create mode 100644 meta/recipes-extended/augeas/augeas/remove-gets.patch create mode 100644 meta/recipes-extended/cpio/cpio-2.11/remove-gets.patch create mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch create mode 100644 meta/recipes-extended/pam/libpam/include-sys-resource.patch create mode 100644 meta/recipes-extended/tar/tar-1.26/remove-gets.patch create mode 100644 meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch rename meta/recipes-support/boost/{boost_1.49.0.bb => boost_1.50.0.bb} (53%) create mode 100644 meta/recipes-support/gnutls/gnutls/remove-gets.patch--
1.7.9.5