head 1.7; access; symbols pkgsrc-2015Q1:1.6.0.98 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.96 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.94 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.92 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.90 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.88 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.86 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.84 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.82 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.80 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.78 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.76 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.74 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.72 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.70 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.68 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.66 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.64 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.62 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.60 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.58 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.56 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.54 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.52 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.50 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.48 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.46 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.44 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.42 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.40 pkgsrc-2008Q1:1.6.0.38 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.36 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.34 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.32 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.30 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.28 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.26 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.24 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.22 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.20 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.18 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.16 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.14 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.12 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.10 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.8 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.6 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.4 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.6.0.2 netbsd-1-6-1-base:1.6 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.7 date 2015.04.25.10.33.29; author wiz; state dead; branches; next 1.6; commitid CG2XaBpeRQKMwXiy; 1.6 date 2002.10.21.20.54.14; author jlam; state Exp; branches; next 1.5; 1.5 date 2002.08.12.01.53.41; author dmcmahill; state dead; branches; next 1.4; 1.4 date 2002.03.28.10.11.52; author jmc; state Exp; branches; next 1.3; 1.3 date 2002.01.03.20.40.42; author tron; state Exp; branches; next 1.2; 1.2 date 2001.02.28.23.28.09; author hubertf; state Exp; branches; next 1.1; 1.1 date 2000.09.15.23.58.48; author tron; state Exp; branches; next ; desc @@ 1.7 log @Finish move of lang/gcc to lang/gcc2. Let me know if I broke something. @ text @$NetBSD: patch-ad,v 1.6 2002/10/21 20:54:14 jlam Exp $ --- ../gcc-2.95.3/config/mh-sparcpic.orig Thu Feb 5 19:33:03 1998 +++ ../gcc-2.95.3/config/mh-sparcpic @@@@ -1 +1 @@@@ -PICFLAG=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` +PICFLAG=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` @ 1.6 log @Pull in diffs from gnusrc/dist/toolchain to allow Sparcs to build lang/gcc. The diffs change some double quotes to single quotes in some sparc-only files so that the shell expression created is legal. This fix was independently found by Lubomir Sedlacik and provided in pkg/18309. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @pull in most recent patches to gcc-2.95.3 from the netbsd-1-6 branch. Includes fixes for sparc, alpha, and others. Should help in keeping pkgsrc running on 1.5.* systems. The patches which mirror those in the main netbsd source tree have been all put into a single distribution patch file. This makes it much easier to maintain and easier to easily see which patches are specific to pkgsrc. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.4 2002/03/28 10:11:52 jmc Exp $ d3 5 a7 29 --- ../gcc-2.95.3/gcc/config/alpha/alpha.h.orig 2000/07/26 00:18:11 1.1.1.1 +++ ../gcc-2.95.3/gcc/config/alpha/alpha.h 2001/06/18 16:10:28 1.2 @@@@ -49,9 +49,6 @@@@ || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \ || !strcmp (STR, "isystem")) -/* Print subsidiary information on the compiler version in use. */ -#define TARGET_VERSION - /* Run-time compilation parameters selecting different hardware subsets. */ /* Which processor to schedule for. The cpu attribute defines a list that @@@@ -493,14 +490,14 @@@@ a bug in DEC's assembler. */ #define LOOP_ALIGN(LABEL) \ - (optimize > 0 && write_symbols != SDB_DEBUG ? 4 : 0) + (!optimize_size && optimize > 0 && write_symbols != SDB_DEBUG ? 4 : 0) /* This is how to align an instruction for optimal branching. On Alpha we'll get better performance by aligning on an octaword boundary. */ #define LABEL_ALIGN_AFTER_BARRIER(FILE) \ - (optimize > 0 && write_symbols != SDB_DEBUG ? 4 : 0) + (!optimize_size && optimize > 0 && write_symbols != SDB_DEBUG ? 4 : 0) /* No data type wants to be aligned rounder than this. */ #define BIGGEST_ALIGNMENT 64 @ 1.4 log @Update patch set against a sync of source from gnusrc/dist/toolchain. Not very many overall changes. Main ones include 1. Support for powerpc, arm32 and vax 2. Makefile.gcc can now be included by anything which depends on gcc versions. If the version installed isn't 2.95.3 it'll add itself as a BUILD_DEPENDS. (XXX: any of the makefile's in pkgsrc should be checked and change to use this) 3. Remove special PLIST.NetBSD-sparc as it's no longer needed 4. Change post-extract loop to pick up any arch files from FILESDIR without having to hardcode all the archs 5. Remove arch restrictions as this should work on any arch supported by the main source tree as of 03/28/02 6. Add PKGREVISION as this clearly isn't stock 2.95.3 (it doesn't change gcc --version so version checks won't care). @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update "gcc" package to version 2.95.3. This is a bug fix release of version 2.95.2. This package includes all changes to "gcc" from the new toolchain in NetBSD-current. The only tested (and enabled) platform is "NetBSD-*-i386" so far. @ text @d3 2 a4 2 --- ../gcc-2.95.3/gcc/config/alpha/alpha.h.orig Fri Jun 25 07:09:12 1999 +++ ../gcc-2.95.3/gcc/config/alpha/alpha.h Thu Jan 3 20:37:53 2002 @ 1.2 log @Make this pkg work on NetBSD/sparc. Patches contributes by Michael Rauch in PR 12299 @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2000/09/15 23:58:48 tron Exp $ d3 29 a31 72 --- ../gcc-2.95.2/gcc/config/sparc/netbsd-elf-common.h.orig Sat Sep 16 00:17:42 2000 +++ ../gcc-2.95.2/gcc/config/sparc/netbsd-elf-common.h Sat Sep 16 00:17:42 2000 @@@@ -0,0 +1,69 @@@@ +/* NetBSD/sparc ELF common 32/64 bit configuration */ + +#define OBJECT_FORMAT_ELF +#define NETBSD_ELF +#include + +/* Fix up CPP_SPEC. This merges the code from and */ +#undef CPP_SPEC +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} \ +%(cpp_cpu) %(cpp_arch) %(cpp_endian) %(cpp_subtarget)" + +#undef CPP_PREDEFINES +#define CPP_PREDEFINES "-D__sparc__ -D__NetBSD__ -D__ELF__ \ +-Asystem(unix) -Asystem(NetBSD)" + +#undef SIZE_TYPE +#define SIZE_TYPE "long unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "long int" + +#undef WCHAR_TYPE +#define WCHAR_TYPE "int" + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE 32 + +#undef WCHAR_UNSIGNED +#define WCHAR_UNSIGNED 0 + +#undef PREFERRED_DEBUGGING_TYPE +#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG + +/* This is the char to use for continuation (in case we need to turn + continuation back on). */ +#undef DBX_CONTIN_CHAR +#define DBX_CONTIN_CHAR '?' + +#undef DBX_REGISTER_NUMBER +#define DBX_REGISTER_NUMBER(REGNO) \ + (TARGET_FLAT && REGNO == FRAME_POINTER_REGNUM ? 31 : REGNO) + +/* This is how to output a definition of an internal numbered label where + PREFIX is the class of label and NUM is the number within the class. */ + +#undef ASM_OUTPUT_INTERNAL_LABEL +#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ + fprintf (FILE, ".L%s%d:\n", PREFIX, NUM) + +/* This is how to store into the string LABEL + the symbol_ref name of an internal numbered label where + PREFIX is the class of label and NUM is the number within the class. + This is suitable for output with `assemble_name'. */ + +#undef ASM_GENERATE_INTERNAL_LABEL +#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ + sprintf ((LABEL), "*.L%s%ld", (PREFIX), (long)(NUM)) + +#undef ASM_SPEC +#define ASM_SPEC "%{fpic:-K PIC} %{fPIC:-K PIC} \ +%{mlittle-endian:-EL} \ +%(asm_cpu) %(asm_arch)\ +" + +#undef STDC_0_IN_SYSTEM_HEADERS + +/* XXX Redefine this; mucks with it. */ +#undef TARGET_VERSION +#define TARGET_VERSION fprintf (stderr, " (%s)", TARGET_NAME); @ 1.1 log @- Add patches from NetBSD-current to fix build on i386 ELF systems. - Install into "${LOCALBASE}/gcc-2.95.2" to avoid that e.g. "bsd.pkg.mk" picks up the new compiler by accident. - Add a file "${LOCALBASE}/etc/gcc-2.95.2.mk" which makes it possible to use the new "gcc" like this: make MAKECONF=/usr/pkg/etc/gcc-2.95.2.mk @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -0,0 +1,73 @@@@ a70 4 + +/** We don't have the C++ support for this (yet). */ +#undef DWARF2_UNWIND_INFO +#define DWARF2_UNWIND_INFO 0 @