Skip to contentSkip to conversation

zecke-no-host-includes.patch is not compiled-in for gcc 4.3.2+ (4.3.x?)

HEADS UP Leon Woestenberg 3 participants 3 messages May 15, 2009 – May 20, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I got a heads-up from one of the ptxdist guys that:

http://cgit.openembedded.org/cgit.cgi?url=openembedded/tree/recipes/gcc/gcc-4.3.2/zecke-no-host-includes.patch

no longer works for GCC 4.3.2 as GCC upstream changed "CROSS_COMPILE" to "CROSS_DIRECTORY_STRUCTURE".

and the patch uses #ifdef CROSS_COMPILE

The patch code thus is not compiled-in.

I currently have no gcc 4.3.x oe builds, maybe someone who does can verify this quickly?

Regards,

Signature · 1 line
Leon
#1 lore raw

Hello,

Quoted 11 lines

Hello,

I got a heads-up from one of the ptxdist guys that:

http://cgit.openembedded.org/cgit.cgi?url=openembedded/tree/recipes/gcc/gcc-4.3.2/zecke-no-host-includes.patch

no longer works for GCC 4.3.2 as GCC upstream changed "CROSS_COMPILE" to "CROSS_DIRECTORY_STRUCTURE".

and the patch uses #ifdef CROSS_COMPILE

It looks like this is true:
Revision 119820 says:
Replace CROSS_COMPILE with CROSS_DIRECTORY_STRUCTURE.

http://gcc.gnu.org/viewcvs?view=rev&revision=119820

Quoted 7 lines

The patch code thus is not compiled-in.

I currently have no gcc 4.3.x oe builds, maybe someone who does can verify this quickly?

Regards,
Dirk

#2 lore raw
In reply to Leon Woestenberg
Quoted 9 lines · Leon Woestenberg

Hello,

I got a heads-up from one of the ptxdist guys that:

http://cgit.openembedded.org/cgit.cgi?url=openembedded/tree/recipes/gcc/gcc-4.3.2/zecke-no-host-includes.patch

no longer works for GCC 4.3.2 as GCC upstream changed "CROSS_COMPILE" to "CROSS_DIRECTORY_STRUCTURE".

Quoted 8 lines

and the patch uses #ifdef CROSS_COMPILE

The patch code thus is not compiled-in.

I currently have no gcc 4.3.x oe builds, maybe someone who does can verify this quickly?

I can confirm that the code doesn't get compiled in for 4.3.3.

could anyone confirm that my checkin from this morning fixes it? (it doesn't break, I've tested that)

regards,

Koen