NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: toolchain/45253: amd64 libgcc_eh.a broken



The following reply was made to PR toolchain/45253; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: re: toolchain/45253: amd64 libgcc_eh.a broken
Date: Mon, 15 Aug 2011 11:52:51 +1000

 please try this patch.  i noticed that we're ignoring any configured
 -f or -m flags for libgcc.  some use -fPIC, some -fpic, some have
 additional flags, and alpha has -mieee as well.
 
 
 .mrg.
 
 
 Index: Makefile.inc
 ===================================================================
 RCS file: /cvsroot/src/external/gpl3/gcc/lib/libgcc/Makefile.inc,v
 retrieving revision 1.10
 diff -p -r1.10 Makefile.inc
 *** Makefile.inc       7 Jul 2011 01:27:47 -0000       1.10
 --- Makefile.inc       15 Aug 2011 01:51:27 -0000
 *************** GCCARCHXX=     ${NETBSDSRCDIR}/external/gpl3
 *** 17,22 ****
 --- 17,23 ----
   GCPPFLAGS=   ${G_LIBGCC2_CFLAGS} ${G_USE_COLLECT2} ${G_INCLUDES}
   CPPFLAGS+=   -I${.CURDIR} -I${GCCARCHLIBGCC}
   CPPFLAGS+=   -I${GCCARCH} ${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*}
 + CPPFLAGS+=   ${GCPPFLAGS:M-f*:M-m*}
   CPPFLAGS+=   ${G_EXTRA_HEADERS:M/*:H:u:S/^/-I/g}
   CPPFLAGS+=   -I${DIST} -I${DIST}/gcc/cp -I${DIST}/gcc/config -I${GCCARCHXX} 
-I.
   
 


Home | Main Index | Thread Index | Old Index