FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 11-24-2010, 09:22 AM
Hector Oron
 
Default Bug#604774: gcc-4.4 (cross): patch fixing powerpc builds

Tags: patch
thanks

Applying this patch i was able to build gcc-4.4 as no-biarch

It would also be nice if cross-builds do not depend on gcc-4.4-source
(unless it is needed by something else)

--- gcc-4.4/gcc-4.4-4.4.5/debian/rules2 2010-11-24 10:15:44.000000000 +0000
+++ gcc-4.4x/gcc-4.4-4.4.5/debian/rules2 2010-11-24
10:21:44.728834207 +0000
@@ -433,7 +433,8 @@
--with-headers=/$(PF)/$(DEB_TARGET_GNU_TYPE)/include
--with-libs=/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib
endif
- SET_CROSS_LIB_PATH =
LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_P ATH:}/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib
+ # XXX AtchA! Hack not needed
+ #SET_CROSS_LIB_PATH =
LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_P ATH:}/$(PF)/$(DEB_TARGET_GNU_TYPE)/lib
endif

ifeq ($(with_bootstrap),)
@@ -1992,7 +1993,8 @@
endif
ifeq ($(DEB_TARGET_ARCH),powerpc)
: # ppc 64bit build slaps libgcc and libstdc++ to powerpc64-linux-gnu
- cp -a $(d)/$(PF)/powerpc64-linux-gnu/lib64/*
$(d)/$(PF)/powerpc-linux-gnu/lib64/
+ # XXX FIXME for biarch builds
+ : #cp -a $(d)/$(PF)/powerpc64-linux-gnu/lib64/*
$(d)/$(PF)/powerpc-linux-gnu/lib64/
endif
endif



--
*Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTim5nebHSEX7VWxWEBtRMPc+ACfxAm1rP19jHj4u@mail .gmail.com">http://lists.debian.org/AANLkTim5nebHSEX7VWxWEBtRMPc+ACfxAm1rP19jHj4u@mail .gmail.com
 
Old 11-26-2010, 09:22 AM
Matthias Klose
 
Default Bug#604774: gcc-4.4 (cross): patch fixing powerpc builds

On 24.11.2010 11:22, Hector Oron wrote:

Tags: patch
thanks

Applying this patch i was able to build gcc-4.4 as no-biarch


why is it so difficult to send patches which don't break other configurations?

Index: debian/rules2
================================================== =================
--- debian/rules2 (revision 4936)
+++ debian/rules2 (working copy)
@@ -2000,12 +2000,12 @@
# endif

ifeq ($(DEB_CROSS),yes)
- ifeq ($(DEB_TARGET_ARCH),s390)
+ ifeq ($(DEB_TARGET_ARCH)-$(biarch64),s390-yes)
: # s390 64bit stuff happens to be in s390x-linux-gnu/lib64/
mkdir -p $(d)/$(PF)/s390-linux-gnu/lib64
cp -a $(d)/$(PF)/s390x-linux-gnu/lib64/* $(d)/$(PF)/s390-linux-gnu/lib64/
endif
- ifeq ($(DEB_TARGET_ARCH),powerpc)
+ ifeq ($(DEB_TARGET_ARCH)-$(biarch64),powerpc-yes)
: # ppc 64bit build slaps libgcc and libstdc++ to powerpc64-linux-gnu
cp -a $(d)/$(PF)/powerpc64-linux-gnu/lib64/* $(d)/$(PF)/powerpc-linux-gnu/lib64/
endif



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CEF8A7E.80305@debian.org">http://lists.debian.org/4CEF8A7E.80305@debian.org
 
Old 11-26-2010, 09:39 AM
Hector Oron
 
Default Bug#604774: gcc-4.4 (cross): patch fixing powerpc builds

Hello,

2010/11/26 Matthias Klose <doko@debian.org>:
> why is it so difficult to send patches which don't break other
> configurations?

Apologies about that, I was doing that in a hurry, I'll try to be
cleaner next time.

Best regards



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTinrx+Q4H3MzNoqPCQJG9D=4WR9Raj2AXNF5H-0F@mail.gmail.com">http://lists.debian.org/AANLkTinrx+Q4H3MzNoqPCQJG9D=4WR9Raj2AXNF5H-0F@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 05:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org