[oe-issues] [Bug 2928] binutils-cross fails to build on x86_64

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Wed Sep 5 18:13:32 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2928





--- Comment #3 from Philip <philip at balister.org>  2007-09-05 11:13:31 ---
khem pasted this and it appears to have solved the build problem for me

#
# old_revision [f187242e911a395651f8c0b903c471eaa5944ab9]
#
# patch "packages/binutils/binutils-cross.inc"
#  from [2a9f9e4a843e43fc6356fa81e25f167e69bdd8d2]
#    to [c3cfcc09fe95e51f8ed861c38e18ebd51cc47d45]
#
============================================================
--- packages/binutils/binutils-cross.inc       
2a9f9e4a843e43fc6356fa81e25f167e69bdd8d2
+++ packages/binutils/binutils-cross.inc       
c3cfcc09fe95e51f8ed861c38e18ebd51cc47d45
@@ -17,14 +17,14 @@ do_stage () {
        rm -rf ${CROSS_DIR}/share/locale
        rm -rf ${CROSS_DIR}/share/man
        rmdir ${CROSS_DIR}/share || :
-       rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
-       rmdir ${CROSS_DIR}/${libdir} || :
+       rmdir ${CROSS_DIR}/${libdir}64/gcc-lib || :
+       rmdir ${CROSS_DIR}/${libdir}64 || :
        rmdir ${CROSS_DIR}/${prefix} || :

        # We want to move this into the target specific location
        mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
-       mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
-       rmdir ${CROSS_DIR}/lib || :
+       mv -f ${CROSS_DIR}/lib64/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
+       rmdir ${CROSS_DIR}/lib64 || :
 }

 do_install () {


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list