Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207668 Details for
Bug 286494
sys-devel/gcc-4.4.2 fails on x86-solaris 10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't use ${T} withing libgcc build to avoid build breakage.
gcc-4.4.2-T-namespace.patch (text/plain), 2.97 KB, created by
Heiko
on 2009-10-20 12:37:32 UTC
(
hide
)
Description:
Don't use ${T} withing libgcc build to avoid build breakage.
Filename:
MIME Type:
Creator:
Heiko
Created:
2009-10-20 12:37:32 UTC
Size:
2.97 KB
patch
obsolete
>Desc: Stop libgcc build from using ${T} which collides with portage's ${T}. >Author: Heiko Przybyl <zuxez@cs.tu-berlin.de> >--- gcc-4.4.2/libgcc/Makefile.in.orig 2009-10-20 11:59:09.538474568 +0200 >+++ gcc-4.4.2/libgcc/Makefile.in 2009-10-20 12:00:27.823740208 +0200 >@@ -881,12 +881,12 @@ gcc-extra-parts: > # We must use cd && make rather than make -C, or else the stage > # number will be embedded in debug information. > >- T=`$(PWD_COMMAND)`/ \ >+ _T=_`$(PWD_COMMAND)`/ \ > && cd $(gcc_objdir) \ > && $(MAKE) GCC_FOR_TARGET="$(CC)" \ > MULTILIB_CFLAGS="$(CFLAGS)" \ >- T=$$T \ >- T_TARGET="$(patsubst %,$${T}%,$(GCC_EXTRA_PARTS))" \ >+ _T_=$$_T_ \ >+ T_TARGET="$(patsubst %,$${_T_}%,$(GCC_EXTRA_PARTS))" \ > T_TARGET > > # Early copyback; see "all" above for the rationale. The >--- gcc-4.4.2/libgcc/config/i386/t-sol2.orig 2009-10-20 11:59:05.560484945 +0200 >+++ gcc-4.4.2/libgcc/config/i386/t-sol2 2009-10-20 11:59:35.740818563 +0200 >@@ -1,24 +1,24 @@ > # gmon build rule: >-$(T)gmon.o: $(gcc_srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H) >+$(_T_)gmon.o: $(gcc_srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H) > $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \ >- -c $(gcc_srcdir)/config/i386/gmon-sol2.c -o $(T)gmon.o >+ -c $(gcc_srcdir)/config/i386/gmon-sol2.c -o $(_T_)gmon.o > > # Assemble startup files. > # Apparently Sun believes that assembler files don't need comments, because no > # single ASCII character is valid (tried them all). So we manually strip out > # the comments with sed. This bug may only be in the Early Access releases. >-$(T)gcrt1.o: $(gcc_srcdir)/config/i386/sol2-gc1.asm $(GCC_PASSES) >+$(_T_)gcrt1.o: $(gcc_srcdir)/config/i386/sol2-gc1.asm $(GCC_PASSES) > sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-gc1.asm >gcrt1.s >- $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)gcrt1.o gcrt1.s >-$(T)crt1.o: $(gcc_srcdir)/config/i386/sol2-c1.asm $(GCC_PASSES) >+ $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(_T_)gcrt1.o gcrt1.s >+$(_T_)crt1.o: $(gcc_srcdir)/config/i386/sol2-c1.asm $(GCC_PASSES) > sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-c1.asm >crt1.s >- $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1.o crt1.s >-$(T)crti.o: $(gcc_srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES) >+ $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(_T_)crt1.o crt1.s >+$(_T_)crti.o: $(gcc_srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES) > sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-ci.asm >crti.s >- $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o crti.s >-$(T)crtn.o: $(gcc_srcdir)/config/i386/sol2-cn.asm $(GCC_PASSES) >+ $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(_T_)crti.o crti.s >+$(_T_)crtn.o: $(gcc_srcdir)/config/i386/sol2-cn.asm $(GCC_PASSES) > sed -e '/^!/d' <$(gcc_srcdir)/config/i386/sol2-cn.asm >crtn.s >- $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o crtn.s >+ $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(_T_)crtn.o crtn.s > > # We need to use -fPIC when we are using gcc to compile the routines in > # crtstuff.c. This is only really needed when we are going to use gcc/g++
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 286494
:
205279
| 207668