This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[patch] fix building of powerpc/linuxthreads with gcc-4.1.0
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-ports at sourceware dot org
- Cc: dgm69 at us dot ibm dot com, sjmunroe at vnet dot ibm dot com
- Date: Tue, 14 Mar 2006 18:52:50 -0500
- Subject: [patch] fix building of powerpc/linuxthreads with gcc-4.1.0
- Geoman: IS A RETARD
- Organization: wh0rd.org
nptl and trunk saw this fix last year, but linuxthreads was neglected
http://sourceware.org/ml/libc-alpha/2005-08/msg00002.html
ive quoted Dwayne as the author in the ChangeLog seeing as how he diagnosed
and fixed the real issue
-mike
2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com>
* sysdeps/powerpc/Makefile (CFLAGS-initfini.s):
Use +=, not =, to append. Remove duplicate flags.
--- linuxthreads/sysdeps/powerpc/Makefile
+++ linuxthreads/sysdeps/powerpc/Makefile
@@ -1,6 +1,6 @@
ifeq ($(subdir):$(elf),linuxthreads:yes)
# See CFLAGS-initfini.s above; this is the same code.
-CFLAGS-pt-initfini.s = -g0 -fpic -O1
+CFLAGS-pt-initfini.s += -fpic -O1
endif
ifeq ($(subdir),csu)
gen-as-const-headers += tcb-offsets.sym