Commit graph

21 commits

Author SHA1 Message Date
maya
8bcbb348b1 gcc3: in case someone can build this package, commit the same change
sevan@ added to gcc6 - apple's ld may stumble here from the whitespace
we added before the path.
2016-09-30 20:32:48 +00:00
joerg
196494efd2 Redo patch for ctype.h changes on NetBSD. The previous patch could
result e.g. in intmax_t getting defined only in namespace std and broke
the festival build.
2011-09-24 19:32:49 +00:00
joerg
7278c78dfb Fix build on NetBSD/current by copying gcc34's patch-ac. 2011-09-21 13:38:48 +00:00
joerg
bb65b2534b Fix C++ build on NetBSD 5.x. Bump revision of gcc3-c.
Inspired by patch from Aran Clauson in the GCC Bugzilla.
2009-02-28 18:37:22 +00:00
rillig
ed6f59cae2 Properly fixed the problem of an uninitialized variable, which has been
reported in PR 33240.
2007-11-03 17:16:37 +00:00
markd
324e66cd29 Update gcc3-* to 3.3.6. Fix build of gcc3-f77 and gcc3-java on
NetBSD-current.
2006-12-07 11:24:27 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
drochner
9231317a1e oops, these are obsolete now 2004-07-02 15:41:26 +00:00
shannonjr
5090ffc5c2 pkg/23871 Ada runtime is not relocatable (same as gcc Bug ada/12950)
part 1/2
2004-05-28 22:28:09 +00:00
abs
066ddabcbf Update gcc3-ada to 3.3.3nb1
Update gcc3-c++ to 3.3.3nb1
Update gcc3-c	to 3.3.3nb2
Update gcc3-f77 to 3.3.3nb1
Update gcc3-java to 3.3.3nb1
Update gcc3-objc to 3.3.3nb1
Update gcc3 to 3.3.3nb1

gcc arm: fix GCC _P_R_ target/14302

        Apply gcc fix for gcc PR target/14302 to fix ARM compiler
        issues triggered by at least glib, glib2, and pkgconfig.

             2004-02-26  Richard Earnshaw  <rearnsha@arm.com>
                   Daniel Jacobowitz  <drow@mvista.com>

                   PR target/14302
                   * arm.h (ARM_GO_IF_LEGITIMATE_ADDRESS): Don't check the mode
                   size for minipool references.
2004-05-22 17:48:21 +00:00
seb
4db623d9f5 Apply sparc64 fix from gcc cvs via
src/gnu/dist/gcc/gcc/config/sparc/sparc.h revision 1.2.

Bump PKGREVISION of gcc3-c package.
2004-04-10 16:37:22 +00:00
seb
1cd5dcea8a Make all gcc3-* packages use a single distinfo file from gcc3/distinfo and
a single patch directory from gcc3/patches/.
Also Move gcc3-c/{Makefile.common,language.mk} into gcc3/.
2004-04-10 15:47:08 +00:00
jlam
65bdf7098a "Update" lang/gcc3 to 3.3.2. This package is now a meta-package for
lang/gcc3-*.
2004-02-01 14:12:22 +00:00
martin
361afca03b Bring in a patch from the base system gcc3 and adapt example gcc3.mk file
accordingly.

  From: matthew green <mrg@netbsd.org>
  To: source-changes@NetBSD.org
  Subject: CVS commit: src/gnu/dist/gcc/gcc
  Message-Id: <20030725175744.B6FC4B004@cvs.netbsd.org>

  Module Name:    src
  Committed By:   mrg
  Date:           Fri Jul 25 17:57:44 UTC 2003

  Modified Files:
          src/gnu/dist/gcc/gcc: cppspec.c
          src/gnu/dist/gcc/gcc/config: netbsd.h

  Log Message:
  make `cpp -gcc' the default on NetBSD.


  To generate a diff of this commit:
  cvs rdiff -r1.1.1.1 -r1.2 src/gnu/dist/gcc/gcc/cppspec.c
  cvs rdiff -r1.1.1.1 -r1.2 src/gnu/dist/gcc/gcc/config/netbsd.h
2003-07-26 17:37:04 +00:00
abs
778857b37b Update gcc3 to gcc3-3.3nb4:
Apply http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10955
	* unroll.c (unroll_loop): Fix off-by-one bug.
    Fixes build issue with xdm and -O3
    Suggested by fredb
2003-07-08 16:30:44 +00:00
seb
7948cb7b2e Convert to USE_NEW_TEXINFO.
Remove or trim "info related" patch files.
Install info files in package specific directory.
Hence the PLIST files are now nearly empty...

This should finish making these two packages really non-conflicting.

Bump PKGREVISION.
2003-07-04 16:27:24 +00:00
drochner
60c92f2aaf make sure libgcc is compiled -fPIC 2003-07-02 19:51:43 +00:00
grant
368e613496 Updated gcc3 to 3.3.
Tested on NetBSD-current and Solaris 9.

Caveats

    * The preprocessor no longer accepts multi-line string literals.
      They were deprecated in 3.0, 3.1, and 3.2.
    * The preprocessor no longer supports the -A- switch when appearing
      alone. -A- followed by an assertion is still supported.
    * Support for all the systems obsoleted in GCC 3.1 has been removed
      from GCC 3.3.
    * Checking for null format arguments has been decoupled from the rest
      of the format checking mechanism. Programs which use the format
      attribute may regain this functionality by using the new nonnull
      function attribute. Note that all functions for which GCC has a
      built-in format attribute, an appropriate built-in nonnull attribute
      is also applied.
    * The DWARF (version 1) debugging format has been deprecated and will
      be removed in a future version of GCC. Version 2 of the DWARF
      debugging format will continue to be supported for the foreseeable
      future.
    * The C and Objective-C compilers no longer accept the "Naming Types"
      extension (typedef foo = bar); it was already unavailable in C++.
      Code which uses it will need to be changed to use the "typeof"
      extension instead: typedef typeof(bar) foo. (We have removed this
      extension without a period of deprecation because it has caused
      the compiler to crash since version 3.0 and no one noticed until
      very recently. Thus we conclude it is not in widespread use.)
    * The -traditional C compiler option has been removed. It was
      deprecated in 3.1 and 3.2. (Traditional preprocessing remains
      available.) The <varargs.h> header, used for writing variadic
      functions in traditional C, still exists but will produce an error
      message if used.

New Targets and Target Specific Improvements [trimmed for length and
relevance to NetBSD]

    * The SPARC, HP-PA, SH4, and x86/pentium ports have been converted
      to use the DFA processor pipeline description.
    * The following NetBSD configurations for the SuperH processor family
      have been added:
          o SH3, big-endian, sh-*-netbsdelf*
          o SH3, little-endian, shle-*-netbsdelf*
          o SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd*
          o SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd*
          o SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd*
          o SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd*
    * The following changes have been made to the IA-32/x86-64 port:
          o SSE2 and 3dNOW! intrinsics are now supported.
          o Support for thread local storage has been added to the IA-32
            and x86-64 ports.
          o The x86-64 port has been significantly improved.

The full list of changes can be found at:

	http://gcc.gnu.org/gcc-3.3/changes.html
2003-05-25 16:29:20 +00:00
jschauma
8efc4185a9 use ${INSTALL_INFO} rather than install-info, so that we don't accidently
use an old or non-compatible version that may be in the base system.
This makes this package install flawlessly under Linux, and even though it does
not directly address PR pkg/20880 (which I could not reproduce), it covers
similar problems.
2003-05-24 18:38:58 +00:00
wiz
a4b1c11de4 Add patch from Todd Vierling in PR 21226:
The following method overrides "libgcc_link_spec" in the generated specs
file, which gives you a compiler that automatically inserts the correct
rpath argument at link time.  This should work for any pkgsrc target
platform, as no platform-specific config overrides it.

Additionally, part of this fix changes the "scrubbed" LDFLAGS by
overriding that in CONFIGURE_ENV, rather than globally.  Other changes to
the pkgsrc Makefile (including one I plan to submit for threads support)
may need access to the "real" LDFLAGS, so overriding it wholesale in the
pkg Makefile is Bad.

Bump version to 3.2.2nb2.
2003-05-22 09:37:27 +00:00
salo
4d0ac3202c GNU texinfo >= 4.1 is required to build the info files shipped, fix wrong
check for MAKEINFO version too.  Addresses PR pkg/20930.
Make it PKGREVISION resilent.
G/C unused variables, delint.
2003-04-14 04:30:21 +00:00