http://bugs.openembedded.org/show_bug.cgi?id=851
Summary: gcc 4.0.2 build fails at do_install
Product: Openembedded
Version: unspecified
Platform: ARM
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Distributions
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Two issues are absense of specs file where gcc-package.inc expects it to be and
the lack of libg2c.la (if it's only .la it is definitely harmless).
The fix I provide is to just go blind about these errors and it did work for me.
Since my build machine (.dev, BTW) is not the same I'm running browser on, I
prefer to paste shorter patches rather than attach them (sure I can copy it over
and attach, if you prefer it this way):
--- packages/gcc/gcc-package.inc 7c90642ccb1064bcb57767579b854c1ab8f76f39
+++ packages/gcc/gcc-package.inc b350d94a28a05afa5714df68cf5eac40b227787d
@@ -67,7 +67,7 @@
rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
# Hack around specs file assumptions
- sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }'
${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs
+ sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }'
${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs &>/dev/null || true
# Move libgcc_s into /lib
mkdir -p ${D}${base_libdir}
@@ -79,7 +79,7 @@
${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/libgcc_s.so
# We don't need libtool libraries
- rm ${D}${libdir}/libg2c.la
+ rm ${D}${libdir}/libg2c.la || true
# Cleanup manpages..
rm -r ${D}${mandir}/man7
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe