Subject: CVS commit: pkgsrc/lang/gcc47
From: John Marino
Date: 2012-06-24 00:13:02
Message id: 20120623221302.D6B9F175DD@cvs.netbsd.org

Log Message:
lang/gcc47: Add support for DragonFly

GCC47 was marked NOT-FOR-DRAGONFLY, so support has been added.

* DragonFly-specific files added via patch mechanism
* Some existing patches modified to add DragonFly configuration items
* dl_iterate_phdr error handling support added (FreeBSD support was altered,
  NetBSD and OpenBSD support is commented out)
* The java language is taken off as a default option

On the i386 platform, the compiler will build from a full bootstrap, but
one of the later stages fails on x86_64.  It fails to find libstdc++.so.6
even though the previous stage library was built and -B, -L flags point
to it.  The cause of the platform-specific build failure isn't clear --
The workaround is to disable the bootstrap on DragonFly so that the compiler
is built in one stage instead of three.  This workaround could have been
limited to the x86_64-DragonFly platform only, but currently is applied to
i386-DragonFly too.

Files:
RevisionActionfile
1.3modifypkgsrc/lang/gcc47/Makefile
1.7modifypkgsrc/lang/gcc47/distinfo
1.7modifypkgsrc/lang/gcc47/options.mk
1.2modifypkgsrc/lang/gcc47/patches/patch-configure
1.3modifypkgsrc/lang/gcc47/patches/patch-gcc_config.gcc
1.2modifypkgsrc/lang/gcc47/patches/patch-gcc_ginclude_stddef.h
1.1addpkgsrc/lang/gcc47/patches/patch-gcc_config_dragonfly-stdint.h
1.1addpkgsrc/lang/gcc47/patches/patch-gcc_config_dragonfly.h
1.1addpkgsrc/lang/gcc47/patches/patch-gcc_config_dragonfly.opt
1.1addpkgsrc/lang/gcc47/patches/patch-gcc_config_i386_dragonfly.h
1.1addpkgsrc/lang/gcc47/patches/patch-gcc_configure
1.1addpkgsrc/lang/gcc47/patches/patch-include_libiberty.h
1.1addpkgsrc/lang/gcc47/patches/patch-libgcc_config.host
1.1addpkgsrc/lang/gcc47/patches/patch-libgcc_config_i386_dragonfly-unwind.h
1.1addpkgsrc/lang/gcc47/patches/patch-libgcc_crtstuff.c
1.1addpkgsrc/lang/gcc47/patches/patch-libgcc_unwind-dw2-fde-dip.c
1.1addpkgsrc/lang/gcc47/patches/patch-libstdc++-v3_config_locale_dragonfly_c__locale.cc
1.1addpkgsrc/lang/gcc47/patches/patch-libstdc++-v3_config_locale_dragonfly_ctype__members.cc
1.1addpkgsrc/lang/gcc47/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__base.h
1.1addpkgsrc/lang/gcc47/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__configure__char.cc
1.1addpkgsrc/lang/gcc47/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_ctype__inline.h
1.1addpkgsrc/lang/gcc47/patches/patch-libstdc++-v3_config_os_bsd_dragonfly_os__defines.h
1.1addpkgsrc/lang/gcc47/patches/patch-libstdc++-v3_configure
1.1addpkgsrc/lang/gcc47/patches/patch-libstdc++-v3_configure.host