Skip to contentSkip to conversation

glibc 2.5: do not use asm/page.h header (taken from glibc 2.6.1)

PATCH In review Marcin Juszkiewicz 2 participants 5 messages Feb 9, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 glibc 2.5: do not use asm/page.h header (taken from glibc 2.6.1)

---
 recipes/glibc/glibc_2.5.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/glibc/glibc_2.5.bb +2 -1
index 6792c58..56e7745 100644
@@ -1,5 +1,5 @@
 require glibc.inc
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 ARM_INSTRUCTION_SET = "arm"
 
@@ -49,6 +49,7 @@ SRC_URI = "\
   file://zecke-sane-readelf.patch;patch=1 \
   file://ldd-unbash.patch;patch=1 \
   file://glibc-2.6.1-use-short-for-fnstsw.patch;patch=1 \
+  file://glibc-arm-no-asm-page.patch;patch=1 \
   file://generic-bits_select.h \
   file://generic-bits_types.h \
   file://generic-bits_typesizes.h \
Signature · 1 line
1.6.6.1
#1 lore raw

PATCH 2/3 gcc csl 2007q3: import header hack from Poky to get glibc 2.5 built

---
 recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb    |    6 ++++++
 .../gcc/gcc-cross-intermediate_csl-arm-2007q3.bb   |    6 ++++++
 recipes/gcc/gcc-cross_csl-arm-2007q3.bb            |    2 +-
 recipes/gcc/gcc_csl-arm-2007q3.bb                  |    2 +-
 4 files changed, 14 insertions(+), 2 deletions(-)
recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb +6 -0
index c9f03a7..cfa64dc 100644
@@ -4,3 +4,9 @@ require gcc-cross-initial.inc
 S = "${WORKDIR}/gcc-4.2"
 
 EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap "
+
+# Hack till we fix *libc properly
+do_install_append() {
+	ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/
+}
+
recipes/gcc/gcc-cross-intermediate_csl-arm-2007q3.bb +6 -0
index 5423626..3532590 100644
@@ -4,3 +4,9 @@ require gcc-cross-intermediate.inc
 S = "${WORKDIR}/gcc-4.2"
 
 EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap "
+
+# Hack till we fix *libc properly
+do_install_append() {
+	ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/
+}
+
recipes/gcc/gcc-cross_csl-arm-2007q3.bb +1 -1
index 34bd251..adf7f5a 100644
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
 
 require gcc-csl-arm-2007q3.inc
 require gcc-cross4.inc
recipes/gcc/gcc_csl-arm-2007q3.bb +1 -1
index cc7540a..2df12ef 100644
@@ -1,4 +1,4 @@
-PR = "r3"
+PR = "r4"
 
 require gcc-${PV}.inc
 require gcc-configure-target.inc
Signature · 1 line
1.6.6.1
Acked-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] gcc csl 2007q3: import header hack from Poky to get glibc 2.5 built

Quoted 1 line · Marcin Juszkiewicz
Quoted 65 lines
---
 recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb    |    6 ++++++
 .../gcc/gcc-cross-intermediate_csl-arm-2007q3.bb   |    6 ++++++
 recipes/gcc/gcc-cross_csl-arm-2007q3.bb            |    2 +-
 recipes/gcc/gcc_csl-arm-2007q3.bb                  |    2 +-
 4 files changed, 14 insertions(+), 2 deletions(-)
recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb +6 -0
index c9f03a7..cfa64dc 100644
@@ -4,3 +4,9 @@ require gcc-cross-initial.inc
 S = "${WORKDIR}/gcc-4.2"
 
 EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap "
+
+# Hack till we fix *libc properly
+do_install_append() {
+	ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/
+}
+
recipes/gcc/gcc-cross-intermediate_csl-arm-2007q3.bb +6 -0
index 5423626..3532590 100644
@@ -4,3 +4,9 @@ require gcc-cross-intermediate.inc
 S = "${WORKDIR}/gcc-4.2"
 
 EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap "
+
+# Hack till we fix *libc properly
+do_install_append() {
+	ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/
+}
+
recipes/gcc/gcc-cross_csl-arm-2007q3.bb +1 -1
index 34bd251..adf7f5a 100644
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
 
 require gcc-csl-arm-2007q3.inc
 require gcc-cross4.inc
recipes/gcc/gcc_csl-arm-2007q3.bb +1 -1
index cc7540a..2df12ef 100644
@@ -1,4 +1,4 @@
-PR = "r3"
+PR = "r4"
 
 require gcc-${PV}.inc
 require gcc-configure-target.inc
Signature · 9 lines
1.6.6.1




_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#3 lore raw

PATCH 3/3 file: added 5.04 (WIP)

In reply to Marcin Juszkiewicz

- BBCLASSEXTEND used for native version
- DEPENDS = "file-native" needs to be added for target package

---
 recipes/file/file_5.04.bb |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 recipes/file/file_5.04.bb
recipes/file/file_5.04.bb new file +12 -0
new file mode 100644
index 0000000..ed00759
@@ -0,0 +1,12 @@
+DESCRIPTION = "File attempts to classify files depending \
+on their contents and prints a description if a match is found."
+SECTION = "console/utils"
+LICENSE = "BSD-ADV"
+
+SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz"
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
+
+DEFAULT_PREFERENCE = "5"
Signature · 1 line
1.6.6.1
Acked-by on v1 1/3
#4 lore raw
In reply to Marcin Juszkiewicz
Quoted 1 line · Marcin Juszkiewicz
Quoted 33 lines
---
 recipes/glibc/glibc_2.5.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/glibc/glibc_2.5.bb +2 -1
index 6792c58..56e7745 100644
@@ -1,5 +1,5 @@
 require glibc.inc
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 ARM_INSTRUCTION_SET = "arm"
 
@@ -49,6 +49,7 @@ SRC_URI = "\
   file://zecke-sane-readelf.patch;patch=1 \
   file://ldd-unbash.patch;patch=1 \
   file://glibc-2.6.1-use-short-for-fnstsw.patch;patch=1 \
+  file://glibc-arm-no-asm-page.patch;patch=1 \
   file://generic-bits_select.h \
   file://generic-bits_types.h \
   file://generic-bits_typesizes.h \
Signature · 9 lines
1.6.6.1




_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel