Date: Thu, 2 Feb 2006 08:54:18 +1100 (EST) From: Mark Andrews <Mark_Andrews@isc.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92707: gcc42 fails to build on FreeBSD 4.11 Message-ID: <200602012154.k11LsIE1026573@drugs.dv.isc.org> Resent-Message-ID: <200602012200.k11M0DPI019717@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92707 >Category: ports >Synopsis: gcc42 fails to build on FreeBSD 4.11 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 01 22:00:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Mark Andrews >Release: FreeBSD 4.11-STABLE i386 >Organization: ISC >Environment: System: FreeBSD drugs.dv.isc.org 4.11-STABLE FreeBSD 4.11-STABLE #27: Fri Jan 27 22:26:40 EST 2006 marka@drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS i386 ORBit-0.5.17_2 High-performance CORBA ORB with support for the C language OpenSP-1.5_6 This package is a collection of SGML/XML tools called OpenS aalib-1.4.r5_1 An ascii art library acroread7-7.0.1 View, search and print PDF documents adns-1.1 Easy to use, asynchronous-capable DNS client library and ut amspsfnt-1.0_3 AMSFonts PostScript Fonts (Adobe Type 1 format) atk-1.10.3 A GNOME accessibility toolkit (ATK) autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms autoconf-2.53_3 Automatically configure source code on many Un*x platforms autoconf-2.59_2 Automatically configure source code on many Un*x platforms automake-1.4.6_2 GNU Standards-compliant Makefile generator (1.4) automake-1.9.6 GNU Standards-compliant Makefile generator (1.9) bash-2.05b.007_4 The GNU Bourne Again Shell bison-1.75_2,1 A parser generator from FSF, (mostly) compatible with Yacc bitstream-vera-1.10_2 Bitstream Vera TrueType font collection boehm-gc-6.6_2 Garbage collection and memory leak detection for C and C++ bonobo-1.0.22_1 The component and compound document system for GNOME british-ispell-3.1_1 An interactive spelling checker for multiple languages ca-roots-1.1 A list of SSL CA root certificates cairo-1.0.2_1 Vector graphics library with cross-device output support cdrtools-2.01_2 CD/CD-R[W] and ISO-9660 image creation and extraction tools cmpsfont-1.0_4 Computer Modern PostScript Fonts (Adobe Type 1 format) cvs-1.12.11 CVS version 1.12 cvsup-without-gui-16.1h_2 General network file distribution system optimized for CVS db2latex-0.8p1 DocBook to LaTeX XSL stylesheets db3-3.3.11_2,1 The Berkeley DB package, revision 3.3 desktop-file-utils-0.10_3 A couple of command line utilities for working with desktop djbfft-0.76_2 An extremely fast library for floating-point convolution dnstop-20050405 Captures and analyzes DNS traffic (or analyzes libpcap dump docbook-1.3 Meta-port for the different versions of the DocBook DTD docbook-241_2 V2.4.1 of the DocBook DTD, designed for technical documenta docbook-3.0_2 V3.0 of the DocBook DTD, designed for technical documentati docbook-3.1_2 V3.1 of the DocBook DTD, designed for technical documentati docbook-4.0_2 V4.0 of the DocBook DTD, designed for technical documentati docbook-4.1_2 V4.1 of the DocBook DTD, designed for technical documentati docbook-sk-4.1.2_3 XML version of the DocBook DTD version controlled for Scrol docbook-xml-4.2_1 XML version of the DocBook DTD docbook-xsl-1.69.1 XSL DocBook stylesheets dri-6.4.1,2 OpenGL hardware acceleration drivers for the DRI drm-kmod-0.9.6 A FreeBSD kernel modules for 3d acceleration with the DRI dsssl-docbook-modular-1.79,1 DSSSL stylesheets for the DocBook DTD by Norman Walsh dtd-catalogs-1.2 SGML DTDs catalogs dvipsk-tetex-5.95a_1 Convert a TeX DVI file to PostScript esound-0.2.36 A sound library for enlightenment package ethereal-0.10.14 A powerful network analyzer/capture tool expat-1.95.8_3 XML 1.0 parser written in C ezm3-1.2 Easier, more portable Modula-3 distribution for building CV fetchmail-6.3.2 Batch mail retrieval utility for IMAP/POP2/POP3/ETRN/ODMR flac-1.1.2 Free lossless audio codec fontconfig-2.3.2,1 An XML-based font configuration API for X Windows freetype2-2.1.10_2 A free and portable TrueType font rendering engine fvwm-2.5.16 Popular virtual window manager for X gcc-3.3.6_2,1 GNU Compiler Collection 3.3 gcc-4.1.0_20060120 GNU Compiler Collection 4.1 gconf-1.0.9_7 A configuration database system for GNOME gd-2.0.33_4,1 A graphics library for fast creation of images gdbm-1.8.3_1 The GNU database manager gdk-pixbuf-0.22.0_3 A graphic library for GTK+ gdkxft-1.5_2 An anti-aliased font support for gtk+ getopt-1.1.4 A getopt(1) replacement that supports GNU-style long option gettext-0.14.5 GNU gettext package ghostscript-gnu-7.07_14 GNU Postscript interpreter glib-1.2.10_11 Some useful routines of C programming (previous stable vers glib-2.8.6 Some useful routines of C programming (current stable versi gmake-3.80_2 GNU version of 'make' utility gnomecanvas-0.22.0_3 A graphics library for GNOME gnomedb-0.2.96_2 Provide uniform access to data sources for the GNOME enviro gnomehier-2.0_7 A utility port that creates the GNOME directory tree gnomelibs-1.4.2_3 Libraries for GNOME, a GNU desktop environment gnomeprint-0.37_1 Gnome print support library gphoto2-2.1.6 A command-line frontend to libgphoto2 gsfonts-8.11_2 Fonts used by GNU Ghostscript (or X) gtk-1.2.10_13 Gimp Toolkit for X11 GUI (previous stable version) gtk-2.8.11 Gimp Toolkit for X11 GUI (current stable version) guile-1.6.7 GNU Ubiquitous Intelligent Language for Extension healthd-0.7.9 A daemon to monitor vital motherboard parameters heimdal-0.6.3_3 A re-implementation of Kerberos V help2man-1.36.3 Automatically generating simple manual pages from program o hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project html-4.01_2 All W3C published SGML DTDs for HTML html2text-1.3.2a Converts HTML documents into plain text idnkit-1.0_2 A library to handle internationalized domain names imake-6.9.0 Imake and other utilities from X.Org imlib-1.9.15_2 A graphic library for enlightenment package intltool-0.34.1 Tools to internationalize various kinds of data files ipsec-tools-0.6.4_2 KAME racoon IKE daemon, ipsec-tools version isc-dhcp3-server-3.0.3_1 The ISC Dynamic Host Configuration Protocol server iso12083-1993_2 SGML DTDs from the The Electronic Publishing Special Intere iso8879-1986_2 Character entity sets from ISO 8879:1986 (SGML) ispell-3.2.06_14 An interactive spelling checker for multiple languages jpeg-6b_3 IJG's jpeg compression utilities kphone-4.2 A voice over internet phone krb5-1.4.3 An authentication system developed at MIT, successor to Ker ladspa-1.12_1 "Linux Audio Developer's Simple Plugin API" lame-3.96.1 ISO code based fast MP3 encoder kit lcms-1.14,1 Light Color Management System -- a color management library libIDL-0.8.6_1 A library for creating trees of CORBA Interface Definition libXft-2.1.7 A client-sided font API for X applications liba52-0.7.4_1 A free library for decoding ATSC A/52 streams, aka AC-3 liba52-devel-0.7.4.2005112800 A free library for decoding ATSC A/52 streams, aka AC-3 libaudiofile-0.2.6 A sound library for SGI audio file libdrm-2.0 Userspace interface to kernel Direct Rendering Module servi libdvdcss-1.2.9_1 Portable abstraction library for DVD decryption libdvdread-0.9.4_1 This is needed by ogle, which is a DVD player that supports libexif-0.6.12_1 Library to read digital camera file meta-data libflash-0.4.13 GPL Flash (TM) Library libgda-0.2.96_2 Provides uniform access to different kinds of data sources libglade-0.17_3 GNOME glade library libglade2-2.5.1_3 GNOME glade library libglut-6.4.1 A graphics library similar to SGI's OpenGL libgnugetopt-1.2 GNU getopt library libgphoto2-2.1.6_2 A universal digital camera picture control tool libiconv-1.9.2_1 A character set conversion library libid3tag-0.15.1b ID3 tags library (part of MAD project) libltdl-1.5.22 System independent dlopen wrapper libmad-0.15.1b_1 Libmad library (part of MAD project) libmikmod-esound-3.1.11 MikMod Sound Library libmng-1.0.9 Multiple-image Network Graphics (MNG) reference library libogg-1.1.3,3 Ogg bitstream library libsidplay-1.36.59 A Commodore SID-chip emulator library to play SID music fil libsndfile-1.0.13 Reading and writing files containing sampled sound (like WA libtool-1.3.5_2 Generic shared library support script (1.3) libtool-1.5.22_1 Generic shared library support script (1.5) libungif-4.1.4 Tools and library routines for working with GIF images libusb-0.1.10a_1 Library giving userland programs access to USB devices libvorbis-1.1.2,3 Audio compression codec library libwww-5.4.0_1 The W3C Reference Library libxml-1.8.17_3 XML parser library for GNOME libxml2-2.6.23 XML parser library for GNOME libxslt-1.1.15 The XSLT C library for GNOME linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary linux-atk-1.8.0_1 Accessibility Toolkit, Linux/i386 binary linux-expat-1.95.7 Linux/i386 binary port of Expat XML-parsing library linux-flashplugin-6.0r79_3 The official Macromedia Flash Player for Linux Mozilla and linux-flashplugin-7.0r61 The official Macromedia Flash Player for Linux Mozilla and linux-fontconfig-2.2.3_2 Linux/i386 binary of Fontconfig linux-glib2-2.4.8_1 Version 2.X Linux/i386 binary port of GLib linux-gtk2-2.4.14_3 GTK+ library, version 2.X, Linux binary linux-jpeg-6b.33 RPM of the JPEG lib linux-pango-1.6.0_1 Linux pango binary linux-png-1.2.8 RPM of the PNG lib linux-realplayer-10.0.6.776 Linux RealPlayer 10 from RealNetworks linux-tiff-3.6.1_5 TIFF library, Linux/i386 binary linux_base-8-8.0_12 Base set of packages needed in Linux mode (for i386/amd64) linuxdoc-1.1_1 The Linuxdoc SGML DTD linuxpluginwrapper-20051113 A wrapper allowing use of linux-plugins with native applica lsof-4.76.1.1 Lists information about open files (similar to fstat(1)) ltmdm-1.4_16 Driver for the Lucent LT Winmodem chipset lynx-ssl-2.8.5_2 A non-graphical, text-based World-Wide Web client with SSL m4-1.4.4 GNU m4 mad-0.15.0b The "meta-port" for the MAD sound playback system madplay-esound-0.15.0b_3 Madplay MP3 player (part of MAD project) metamail-2.7_3 Implementation of MIME, the Multipurpose Internet Mail Exte mkcatalog-1.1 A maintainance utility for sgml catalog files mozilla-1.7.12_1,2 The open source, standards compliant web browser mplayer-fonts-0.50 A font pack for the mplayer OSD and SUB mplayer-gtk-esound-0.99.7_9 High performance media player/encoder supporting many forma mplayer-skins-1.1.2_1 Skins for MPlayer's Graphical User Interface (GUI) mplayerplug-in-3.17_1 A Mozilla plugin for the MPlayer media player mtools-3.9.9 A collection of tools for manipulating MSDOS files nas-1.7b Network Audio System nasm-0.98.39,1 General-purpose multi-platform x86 assembler net-snmp-5.2.2 An extendable SNMP implementation nmap-3.95 Port scanning utility for large networks nmh-1.0.4_4 A cleaned up MH mailer suite nspr-4.6.1 A platform-neutral API for system level and libc like funct nss-3.11 Libraries to support development of security-enabled applic oaf-0.6.10_2 Object Activation Framework for GNOME ogle-0.9.2_5 Open DVD player that supports DVD menus ogle-gui-0.9.2_5 An add-on graphical user interface for Ogle open-motif-2.2.3_2 Motif X11 Toolkit (industry standard GUI (IEEE 1295)) openjade-1.3.2_6 Object-oriented SGML/XML parser toolkit and DSSSL engine openssh-gssapi-4.2.0.0,1 The portable version of OpenBSD's OpenSSH p5-Authen-SASL-2.09 Perl5 module for SASL authentication p5-Compress-Zlib-1.41 Perl5 interface to zlib compression library p5-Digest-1.14 Modules that calculate message digests p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms p5-Digest-MD5-2.36 Perl5 interface to the MD5 algorithm p5-Digest-SHA1-2.11 Perl interface to the SHA-1 Algorithm p5-HTML-Parser-3.48 Perl5 module for parsing HTML documents p5-HTML-Tagset-3.10 Some useful data table in parsing HTML p5-IO-Socket-SSL-0.97 Perl5 interface to SSL sockets p5-IO-stringy-2.110 Perl5 module for using IO handles with non-file objects p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings p5-Mail-SpamAssassin-3.1.0_6 A highly efficient mail filter for identifying spam p5-Mail-Tools-1.67 Perl5 modules for dealing with Internet e-mail messages p5-Net-1.19,1 Perl5 modules to access and use network protocols p5-Net-DNS-0.55 Perl5 interface to the DNS resolver, and dynamic updates p5-Net-IP-1.24 Perl extension for manipulating IPv4/IPv6 addresses p5-Net-SSLeay-1.30_1 Perl5 interface to SSL p5-OLE-Storage_Lite-0.14 Perl module for OLE document interface p5-PathTools-3.15 A Perl module for portably manipulating file specifications p5-Pod-Parser-1.34 Modules to work with POD (Plain Old Documentation) p5-Scalar-List-Utils-1.18,1 Perl subroutines that would be nice to have in the perl cor p5-Spreadsheet-ParseExcel-0.2603 Get information from Excel file p5-Test-Harness-2.56 Run perl standard test scripts with statistics p5-Test-Simple-0.62 Basic utilities for writing tests in perl p5-Time-HiRes-1.86,1 A perl5 module implementing High resolution time, sleep, an p5-URI-1.35 Perl5 interface to Uniform Resource Identifier (URI) refere p5-XML-LibXML-1.58_1 Interface to Gnome libxml2 library p5-XML-LibXML-Common-0.13 Routines and Constants common for XML::LibXML and XML::GDOM p5-XML-LibXSLT-1.58 Perl interface to the GNOME XSLT library p5-XML-NamespaceSupport-1.09_1 A simple generic namespace support class p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, expat p5-XML-SAX-0.13 Simple API for XML p5-gettext-1.05_1 Message handling functions p5-libwww-5.803 Perl5 library for WWW access p5-type1inst-0.6.1_2 A script that helps install Postscript fonts in X Window Sy pango-1.10.2 An open-source framework for the layout and rendering of i1 pcre-6.4 Perl Compatible Regular Expressions library perl-5.8.7_2 Practical Extraction and Report Language pgp-5.0i_1 Public-Key encryption for the masses pkg_install-devel-20040811 Development version of the FreeBSD 5.x package tools pkgconfig-0.20 A utility to retrieve information about installed libraries png-1.2.8_2 Library for manipulating PNG images popt-1.7 A getopt(3) like library with a number of enhancements, fro portaudit-0.5.10 Checks installed ports against a list of security vulnerabi portupgrade-2.0.1_1,1 FreeBSD ports/packages administration and management tool s psi-0.9.3_3 A Qt-based Jabber client pstree-2.27 List processes as a tree python-2.4.2 An interpreted object-oriented programming language qca-1.0 Straightforward and cross-platform crypto API qca-tls-1.0_1 SSL/TLS plugin for Qt qmake-3.3.5 The build utility of the Qt project qt-3.3.5 Multiplatform C++ application framework razor-agents-2.77 A distributed, collaborative, spam detection and filtering rc_subr-1.31_1 Common startup and shutdown subroutines used by scripts rpm-3.0.6_10 The Red Hat Package Manager rpm2cpio-1.2_2 Convert .rpm files for extraction with /usr/bin/cpio, needs ruby-1.8.4_4,1 An object-oriented interpreted scripting language ruby18-bdb1-0.2.2 Ruby interface to Berkeley DB revision 1.8x with full featu scrollkeeper-0.3.14_1,1 An Open Document Cataloging Project sdl-1.2.9_1,2 Cross-platform multi-media development API sdocbook-xml-4.1.2.5_2 "Simplified" DocBook XML DTD shared-mime-info-0.16_2 A MIME type database from the FreeDesktop project smpeg-0.4.4_3 A free MPEG1 video player library with sound support smpeg-xmms-0.3.5_2 A mpeg video plugin for XMMS svgalib-1.4.3_5 A low level console graphics library t1lib-5.1.0,1 A Type 1 Rasterizer Library for UNIX/X11 tcl-8.3.5_5 Tool Command Language teTeX-3.0 A meta port for teTeX suite teTeX-base-3.0_6 Thomas Esser's distribution of TeX & friends (binaries) teTeX-texmf-3.0_3 Thomas Esser's distribution of TeX & friends (texmf tree) tex-texmflocal-1.9 Meta-port that creates a site-local $TEXMF directory texi2html-1.76_1,1 Texinfo to HTML converter tidy-20000804_2 Fixes and tidies up HTML files tiff-3.8.0 Tools and library routines for working with TIFF images tk-8.3.5_5 Graphical toolkit for TCL trn-4.0.b76_1 Version 4.0 of the threaded readnews newsreader unzip-5.52_2 List, test and extract compressed files in a ZIP archive urwfonts-1.0 Another font package for X valgrind-352_5 A (memory) debugging and profiling tool w3m-0.5.1_3 A pager/text-based WWW browser wdiff-0.5_3 Display word differences between text files wget-1.10.2 Retrieve files from the Net via HTTP and FTP win32-codecs-3.1.0.p7_1,1 Huge compilation of Win32 binary video codecs wmbattery-1.21 Window Maker dockapp that displays info about your battery wmhm-1.46 WindowMaker dockable hardware monitor for FreeBSD wmwave-0.4_2 Display 802.11 status in the WindowMaker Dock xautolock-2.1 Used to activate xlock after a user defined time of inactiv xbatt-1.2.1 Laptop battery status display for X11 xdvik-tetex-22.84.10 DVI Previewer(kpathsearch) for X xfce-3.8.18_3 CDE like desktop with GTK xloadimage-4.1.15 X11 Image Loading Utility xlockmore-5.21_1 Like XLock session locker/screen saver, but just more xml2rfc-1.30 A tool to create RFCs and related documents from XML, as pe xmlcatmgr-2.2 SGML and XML catalog manager xmlindent-0.2.17_1 XML stream reformatter xmlto-0.0.18 Front-end to an XSL toolchain xmms-a52dec-1.0_1 A52 (aka AC3) decoder plugin for XMMS xmms-alarm-0.3.7 Alarm timer plugin for the X Multimedia System xmms-blursk-1.3_1 A XMMS plugin inspired by "Blur Scope" xmms-bonk-0.12_1 XMMS input plugin to play bonk files xmms-crossfade-0.3.8 XMMS Output plugin for crossfading between songs xmms-crystality-0.92_2 Realtime XMMS plugin for remastering mp3 sound xmms-esound-1.2.10_4 X Multimedia System --- An audio player with a Winamp GUI xmms-fc-0.5.4 A XMMS future composer input plugin xmms-finespectrum-1.0.1.a_1 Fine grain Spectrum analyzers for XMMS xmms-goom-1.8.1_1 A cool XMMS visualization xmms-infinity-0.2_2 A XMMS plug-in which generate full-screen interactive light xmms-jess-2.9.1_2 A XMMS visualization plugin that uses SDL xmms-ladspa-1.1 XMMS Plugin that provides LADSPA Plugins to XMMS xmms-liveice-1.0.0_1 Use XMMS for streaming audio to Icecast servers xmms-mad-0.1.1_2 A XMMS input plugin that uses libmad xmms-musepack-1.8.0_1 XMMS input plugin for playing MPC Musepack (.mpc, .mp+) fil xmms-osssurround-0.1_1 OSSSuround adds Surround Sound capabilities to XMMS xmms-paranormal-0.2.0_3 An adaptation of the "OpenGL Spectrum Analyzer" from XMMS xmms-pipe-0.5.4_1 Controls XMMS with a named pipe xmms-quix3dn-4.4.1_1 A 3D-sound effect plugin for XMMS xmms-shn-2.4.0 XMMS plugin to allow playing shorten-compressed audio xmms-sid-0.7.4_1 XMMS input plugin to play SID files xmms-sndfile-1.2 XMMS plugin to allow playing libsndfile supported files xmms-sndstretch-0.7_1 Plugin for xmms to change the pitch and/or speed xmms-tfmx-0.5 XMMS Input plugin for playing TFMX tunes xmms-volnorm-0.8.1_1 Volume Normalizer plugin for XMMS xorg-6.9.0 X.Org distribution metaport xorg-clients-6.9.0 X client programs and related files from X.Org xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org xorg-fonts-100dpi-6.9.0 X.Org 100dpi bitmap fonts xorg-fonts-75dpi-6.9.0 X.Org 75dpi bitmap fonts xorg-fonts-cyrillic-6.9.0 X.Org Cyrillic bitmap fonts xorg-fonts-encodings-6.9.0 X.Org font encoding files xorg-fonts-miscbitmaps-6.9.0 X.Org miscellaneous bitmap fonts xorg-fonts-truetype-6.9.0 X.Org TrueType fonts xorg-fonts-type1-6.9.0 X.Org Type1 fonts xorg-fontserver-6.9.0_1 X font server from X.Org xorg-libraries-6.9.0 X11 libraries and headers from X.Org xorg-manpages-6.9.0 X.Org library manual pages xorg-nestserver-6.9.0 Nesting X server from X.Org xorg-printserver-6.9.0 X Print server from X.Org xorg-server-6.9.0 X.Org X server and related programs xorg-vfbserver-6.9.0 X virtual framebuffer server from X.Org xpdf-3.01_2 Display PDF files, and convert them to other formats xterm-206_1 Terminal emulator for the X Window System xv-3.10a_5 An X11 program that displays images of various formats zip-2.31 Create/update ZIP files compatible with pkzip # ex:ts=8 # Ports collection makefile for: egcs # Date created: 9 Jan 1998 # Whom: John Polstra <jdp@polstra.com> # # $FreeBSD: ports/lang/gcc42/Makefile,v 1.245 2006/01/27 01:55:53 gerald Exp $ # PORTNAME= gcc PORTVERSION= 4.2.0 PORTREVISION= 20060121 CATEGORIES= lang java VERSIONSTRING= 4.2-${PORTREVISION} MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING} DISTFILES= gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \ gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \ gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \ gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 4.2 .if defined(WITH_FORTRAN) LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 BUILD_DEPENDS= ${LOCALBASE}/lib/libmpfr.a:${PORTSDIR}/math/mpfr .endif CONFLICTS= gcc-4.1.* LATEST_LINK?= gcc42${PKGNAMESUFFIX} NOT_FOR_ARCHS= alpha USE_BISON= yes USE_BZIP2= yes USE_GMAKE= yes USE_ICONV= yes USE_PERL5_BUILD=yes USE_REINPLACE= yes .if defined(WITH_JAVA_AWT) USE_GNOME= gtk20 USE_X11= yes .endif PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4 .include <bsd.port.pre.mk> .if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 WITHOUT_JAVA= yes .endif # FIXME: As of 20051202, installing libgcj nearly kills 1GB machines. WITHOUT_JAVA= yes .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build SUFFIX= 42 TARGLIB= ${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION} GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-nls \ --with-system-zlib \ --with-libiconv-prefix=${LOCALBASE} \ --program-suffix=${SUFFIX} \ --libdir=${TARGLIB} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ \ --infodir=${PREFIX}/${INFO_PATH}/gcc${SUFFIX} CONFIGURE_ENV= RANLIB=: .if defined(WITH_JAVA_AWT) CONFIGURE_ARGS+= --enable-java-awt=xlib,gtk #--enable-gtk-cairo=yes WANT_SHAREDLIBS=yes # We need this at the moment. .endif MAKE_ARGS+= MAKEINFOFLAGS="--no-split" .if defined(WANT_SHAREDLIBS) CONFIGURE_ARGS+= --enable-shared INSTALLS_SHLIB= yes LDCONFIG_DIRS= ${TARGLIB} .else CONFIGURE_ARGS+= --disable-shared .endif ALL_TARGET= bootstrap PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${SUFFIX} MAN1= cpp${SUFFIX}.1 \ g++${SUFFIX}.1 \ gcc${SUFFIX}.1 \ gcov${SUFFIX}.1 INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/cppinternals \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint .if defined(WITH_FORTRAN) DISTFILES+= gcc-fortran-${VERSIONSTRING}${EXTRACT_SUFX} CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} MAN1+= gfortran${SUFFIX}.1 INFO+= gcc${SUFFIX}/gfortran PLIST_SUB+= FORTRAN="" .else PLIST_SUB+= FORTRAN="@comment " .endif .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} EXTRA_PATCHES= ${FILESDIR}/java-patch-hier # FIXME: we are currently getting weird build failures with libjava on # some 4.x and 5.x systems, which the following works around. PR 81788. CONFIGURE_ARGS+=--disable-rpath MAN1+= fastjar${SUFFIX}.1 \ gcj${SUFFIX}.1 \ gcj-dbtool${SUFFIX}.1 \ gcjh${SUFFIX}.1 \ gij${SUFFIX}.1 \ gjnih${SUFFIX}.1 \ grmic${SUFFIX}.1 \ grmiregistry${SUFFIX}.1 \ grepjar${SUFFIX}.1 \ jar${SUFFIX}.1 \ jcf-dump${SUFFIX}.1 \ jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \ rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1 INFO+= gcc${SUFFIX}/gcj gcc${SUFFIX}/fastjar PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif pre-everything:: @${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}" .if ! defined(WITHOUT_JAVA) @${ECHO_MSG} "(with Java)" .endif post-patch: @${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ ${SRCDIR}/gcc/version.c pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} -f ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} post-build: @${ECHO_MSG} "Consider running 'make check' before 'make install', especially" @${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT." @${ECHO_MSG} "This assumes that you have the dejagnu port installed." check: build cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check post-install: # man pages can only be generated if Perl >= 5.6 is installed; # fake them otherwise. for mp in ${_MANPAGES}; do \ ${TEST} -e $${mp} || ${TOUCH} ${TOUCH_FLAGS} $${mp}; \ done .for f in c++ gcc g++ cpp gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++ gcj gcjh gij jv-scan jcf-dump jv-convert jar grepjar rmic rmiregistry # gij and jv-convert, for example, are not built on all platforms. if [ -e ${PREFIX}/man/man1/${f}.1 ]; then \ ${MV} -f ${PREFIX}/man/man1/${f}.1 \ ${PREFIX}/man/man1/${f}${SUFFIX}.1; \ fi .endfor ${RM} -f ${TARGLIB}/*.la ${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \ ${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7 # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib .for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/^${PREFIX}\///:S/lib/libexec/} include/gcj include/gnu include/java include/javax cd ${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ ${FIND} $d -type d | ${SORT} -r \ | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\ fi .endfor ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${WRKDIR}/PLIST.lib ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${WRKDIR}/PLIST.lib ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${WRKDIR}/PLIST.lib ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${WRKDIR}/PLIST.lib cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} cklatest: .for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/ @-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2' .endfor .include <bsd.port.post.mk> >Description: gcc42 fails to build on FreeBSD 4.11 as uintptr_t is multiply typedef'd. /bin/sh ${libsrcdir}/configure \ --cache-file=./config.cache --build=i386-portbld-freebsd4.11 --host=i386-portb ld-freebsd4.11 --target=i386-portbld-freebsd4.11 --disable-nls --with-system-zl ib --with-libiconv-prefix=/usr/local --libdir=/usr/local/lib/gcc/i386-portbld-fr eebsd4.11/4.2.0 --with-gxx-include-dir=/usr/local/lib/gcc/i386-portbld-freebsd4. 11/4.2.0/include/c++/ --infodir=/usr/local/info/gcc42 --disable-shared --disable -libgcj --prefix=/usr/local --enable-languages=c,c++,objc --program-transform-na me='s,$,42,; ' ${srcdiroption} \ --disable-intermodule --disable-coverage --enable-languages="c" gmake[3]: Entering directory `/usr/ports/lang/gcc42/work/build/libdecnumber' source='.././..//gcc-4.2-20060121/libdecnumber/decNumber.c' object='decNumber.o' libtool=no cc -I.././..//gcc-4.2-20060121/libdecnumber -I. -g -W -Wall -Wwrit e-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -I. ././..//gcc-4.2-20060121/libdecnumber -I. -c .././..//gcc-4.2-20060121/libdecnu mber/decNumber.c In file included from ../../gcc-4.2-20060121/libdecnumber/decContext.h:43, from ../../gcc-4.2-20060121/libdecnumber/decNumber.h:30, from .././..//gcc-4.2-20060121/libdecnumber/decNumber.c:161: gstdint.h:49: redefinition of `uintptr_t' /usr/include/sys/inttypes.h:22: `uintptr_t' previously declared here gstdint.h:50: redefinition of `intptr_t' /usr/include/sys/inttypes.h:21: `intptr_t' previously declared here gmake[3]: *** [decNumber.o] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc42/work/build/libdecnumber' gmake[2]: *** [all-stage1-libdecnumber] Error 2 gmake[2]: Leaving directory `/usr/ports/lang/gcc42/work/build' gmake[1]: *** [stage1-bubble] Error 2 >How-To-Repeat: Attempt to install gcc42 on FreeBSD 4.11 >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602012154.k11LsIE1026573>