1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

629 Commits

Author SHA1 Message Date
Julio Merino
dad9e883dd Add a MULTILIB option to gcc{,48,49,5} for powerpc64
This change is the same as r400632, which updated gcc[56]-devel, but now
for gcc{,48,49,5}.  This change is the second attempt at doing this: the
first attempt went in r401072 and was reverted in r401074 because the diff
was bogus and enabled the new MULTILIB option under all platforms instead
of just powerpc64.

This fixes the build of gcc{,48,49,5} under powerpc64 when the system
is built without the lib32 libraries.

More in detail:

If the system is built with lib32 support (WITH_LIB32, which is the default),
building gcc from ports results in a compiler that can target both 64-bit and
32-bit binaries on powerpc64.  However, when lib32 support is disabled
(WITHOUT_LIB32), gcc should only be built with 64-bit support or otherwise
the build fails.

To fix this, explicitly disable 32-bit support when /usr/lib32 is not present
and add a MULTILIB option (which is only defined for powerpc64 when 32-bit
support is possible and defaults to yes to preserve the current behavior) to
allow the user to explicitly control this feature.

Approved by:    gerald (maintainer), bdrewery (mentor), andreast
Differential Revision:  https://reviews.freebsd.org/D3952
2015-11-22 21:06:54 +00:00
Julio Merino
c7f5a2f84d Revert r401072.
I'm not sure what happened exactly but I think I committed the change from
the wrong client.  The applied change enabled the MULTILIB option for all
architectures and not only powerpc64.  Let's just revert the commit and do
it properly from scratch; other things might be wrong so I wanna take a
closer look, and it's best to just revert quickly.
2015-11-08 20:31:51 +00:00
Julio Merino
c6b41d9541 Add a MULTILIB option to gcc{,48,49,5} for powerpc64
This change is the same as r400632, which updated gcc[56]-devel, but now
for gcc{,48,49,5}.  Waited a week to ensure the change caused nothing to go
horribly wrong but this change is very low risk because it only affects
powerpc64.

This fixes the build of gcc{,48,49,5} under powerpc64 when the system
is built without the lib32 libraries.

More in detail:

If the system is built with lib32 support (WITH_LIB32, which is the default),
building gcc from ports results in a compiler that can target both 64-bit and
32-bit binaries on powerpc64.  However, when lib32 support is disabled
(WITHOUT_LIB32), gcc should only be built with 64-bit support or otherwise
the build fails.

To fix this, explicitly disable 32-bit support when /usr/lib32 is not present
and add a MULTILIB option (which is only defined for powerpc64 when 32-bit
support is possible and defaults to yes to preserve the current behavior) to
allow the user to explicitly control this feature.

Approved by:    gerald (maintainer), bdrewery (mentor), andreast
Differential Revision:  https://reviews.freebsd.org/D3952
2015-11-08 20:09:59 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Gerald Pfeifer
02f0c64c67 Update to the GCC 4.8.5 release which concludes the GCC 4.8 release
branch -- no more releases nor snapshots nor even commits on this
branch are to be expected.
2015-06-23 19:32:15 +00:00
Gerald Pfeifer
ca059dcc63 Update to the 20150611 snapshot of GCC 4.8.5. 2015-06-12 20:09:43 +00:00
Gerald Pfeifer
15bf2122d7 Update to the 20150521 snapshot of GCC 4.8.5. 2015-05-23 05:26:07 +00:00
Gerald Pfeifer
9a254ea139 Update to the 20150423 snapshot of GCC 4.8.5.
Merge MASTER_SITES and MASTER_SITE_SUBDIR into just the former. [1]

Suggested by:	mat [1]
2015-04-29 14:44:19 +00:00
Adrian Chadd
8ba312a3fa Implement the FreeBSD specific pieces for thread affinity for OpenMP.
Upstream gcc 4.8 doesn't have support for this - it'll create threads,
but it won't do any of the thread affinity stuff for FreeBSD.

This allows for OMP_PROC_BIND=true to bind threads to their initial
CPUs, leading to some pretty drastic improvements in performance
for certain NUMA workloads.

Approved by:	gerald
Sponsored by:	Norse Corp, Inc.
2015-04-27 04:50:20 +00:00
Gerald Pfeifer
96371829cf Update to the 20150402 snapshot of GCC 4.8.5. 2015-04-03 14:23:04 +00:00
John Marino
bd64a4f18c lang/gcc(46,47,48,49,5): Use OPTIONS_EXCLUDE_DragonFly to block JAVA
The JAVA frontend doesn't build on DragonFly on any release.  The new
OPTIONS_EXCLUDE_${OPSYS} feature is a nice way to avoid the use of
Makefile.DragonFly (most are in dports, but one is in lang/gcc5).

The recent addition of CXXFLAGS to lang/gcc5 prevents Makefile.DragonFly
on lang/gcc5 from being removed outright.  There are a couple of options
available to allow its removal, but I'll need to discuss with Gerald.

Approved by:	DragonFly blanket
2015-03-26 20:36:04 +00:00
Bryan Drewery
01f8b6d7d7 Fix UNIQUENAME not being unique after recent PORTNAME shuffle.
This was causing the gcc packages to be generated with a
/usr/local/libdata/ldconfig/gcc file. All were conflicting. Bump
PORTREVISION to fix packages built during this time.

With hat:	portmgr
Reported by:	sunpoet
2015-03-23 18:56:10 +00:00
Gerald Pfeifer
21f2409ed2 Add CONFLICTS with lang/gcc which is also GCC 4.8-based right now.
Add CPE information. [1]

Use PKGNAMESUFFIX so that PORTNAME falls back to plain gcc and we
can avoid setting DISTNAME and CPE_PRODUCT. [2]

PR:		198260 [1]
Submitted by:	shun.fbsd.pr@dropcut.net [1]
Suggested by:	mat [2]
2015-03-22 23:29:51 +00:00
Gerald Pfeifer
fb1f0dabac Update to the 20150212 snapshot of GCC 4.8.5. 2015-02-16 05:35:36 +00:00
Gerald Pfeifer
e5c5cee495 Update to the 20150129 snapshot of GCC 4.8.5. 2015-01-31 21:26:32 +00:00
Gerald Pfeifer
34bc3cb59a Update to the 20150122 snapshot of GCC 4.8.5. 2015-01-24 21:26:44 +00:00
Gerald Pfeifer
f29a3a5521 Update to the 20150108 snapshot of GCC 4.8.5. This is a bit past
the GCC 4.8.4 release that the lang/gcc port is at, and likely will
lead to the last release on this branch.
2015-01-12 05:18:42 +00:00
Dimitry Andric
0e14fd9299 When building the gcc ports using a full bootstrap, tell the configure
script to assume the BUILD_CONFIG is set to bootstrap-debug, instead of
letting it auto-detect.

With clang 3.5.0 this auto-detection can fail, due to a discrepancy [1]
[2] in its debug information, when objects are produced with and without
-g.  When the auto-detection fails, gcc will compare objects with full
debug information during the stage comparisons, and this sometimes
causes those stage comparisons to fail unexpectedly.

[1] http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141222/250134.html
[2] http://llvm.org/PR22046

Approved by:	gerald (maintainer)
2014-12-30 19:19:43 +00:00
Gerald Pfeifer
7f4c99cb64 Update to the 20141218 snapshot of GCC 4.8.4. 2014-12-20 10:41:37 +00:00
Gerald Pfeifer
dbb9ca2500 Update to the 20141120 snapshot of GCC 4.8.4. 2014-11-22 12:38:38 +00:00
Gerald Pfeifer
10a686bd60 Update to the 20141106 snapshot of GCC 4.8.4. 2014-11-10 11:57:56 +00:00
Gerald Pfeifer
d7da3642bb Update to the 20141030 snapshot of GCC 4.8.4. 2014-11-03 15:03:38 +00:00
Gerald Pfeifer
c21b48765d Update to the 20141023 snapshot of GCC 4.8.4. 2014-10-25 15:16:24 +00:00
Gerald Pfeifer
07e3437a5d Update to the 20141016 snapshot of GCC 4.8.4.
Remove all traces of @dirrm from the dynamically generated part of
pkg-plist.
2014-10-19 21:32:13 +00:00
Gerald Pfeifer
efd9c71e71 Update to the 20141009 snapshot of GCC 4.8.4. 2014-10-11 10:31:10 +00:00
Gerald Pfeifer
a89cf08f6f Update to the 20141002 snapshot of GCC 4.8.4.
Remove all instances of @dirrm from pkg-plist.
2014-10-09 05:42:58 +00:00
Baptiste Daroussin
e95ace05e4 Comment out info/dir files
indexinfo is taking care of generating it at package installation time

Reported by:	peter
2014-10-06 18:13:15 +00:00
Gerald Pfeifer
b72b196626 Update to the 20140918 snapshot of GCC 4.8.4. 2014-09-20 15:38:23 +00:00
Gerald Pfeifer
616242b63a Update to the 20140911 snapshot of GCC 4.8.4. 2014-09-12 13:20:10 +00:00
Tijl Coosemans
19be2f9fce Add USES=libtool 2014-09-11 14:37:37 +00:00
Gerald Pfeifer
0805aa448c Update to the 20140904 snapshot of GCC 4.8.4. 2014-09-07 10:52:49 +00:00
Gerald Pfeifer
d2b62a7a89 Update to the 20140828 snapshot of GCC 4.8.4. 2014-08-31 22:04:31 +00:00
Gerald Pfeifer
de24821d65 Update to the 20140807 snapshot of GCC 4.8.4. 2014-08-10 20:40:36 +00:00
Gerald Pfeifer
65ce14af9c Update to the 20140724 snapshot of GCC 4.8.4. 2014-07-26 13:31:58 +00:00
Gerald Pfeifer
f7740de34b Update to the 20140710 snapshot of GCC 4.8.4.
Also clean *.la files in LIBEXEC, and recursively so, here and for
TARGLIB.
2014-07-11 00:27:29 +00:00
Gerald Pfeifer
9c8f3d316a Update to the 20140626 snapshot of GCC 4.8.4. 2014-06-27 22:01:28 +00:00
Baptiste Daroussin
698f728a34 Fix build on system built WITHOUT_INFO
With hat:	portmgr
2014-06-25 08:58:09 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Gerald Pfeifer
faadf0f691 Update to the 20140619 snapshot of GCC 4.8.4 2014-06-24 16:17:36 +00:00
Gerald Pfeifer
12e97d4035 Update to the 20140605 snapshot of GCC 4.8.4.
Add support for "-fstack-protector-strong".  This extends the
WITH_SSP_PORTS Makefile option in FreeBSD which adds "-fstack-protector"
and "-fstack-protector-all" command-line options that add extra code to
check for buffer overflows to ports built that way, cf.
https://gcc.gnu.org/onlinedocs/gcc-4.8.3/gcc/Optimize-Options.html

While this was a good first step, those switches offer too little
protection or too much overhead and so Google contributed a balanced
"-fstack-protector-strong". [1]

PR:		186852 [1]
Submitted by:	software-freebsd@interfasys.ch [1]
2014-06-10 02:11:30 +00:00
Gerald Pfeifer
a1ca7d805c Update to the 20140522 snapshot of GCC 4.8.4 which is pretty much the
GCC 4.8.3 release.
2014-05-26 12:23:18 +00:00
Gerald Pfeifer
27403d6a03 Update to the 20140508 snapshot of GCC 4.8.3. 2014-05-12 00:14:24 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Gerald Pfeifer
62770bd993 Update to the 20140424 snapshot of GCC 4.8.3. 2014-04-29 15:07:19 +00:00
Gerald Pfeifer
59d55aedab Update to the 20140410 snapshot of GCC 4.8.3.
Add pkg-message that references the need to use -Wl,-rpath=... . [1]

PR:		185902 [1]
2014-04-13 01:18:14 +00:00
Gerald Pfeifer
99a8c05c97 Update to the 20140320 snapshot of GCC 4.8.3.
Replace USE_BZIP2 by USES=tar:bzip2.

No longer install rebuild-gcj-db48 (which requires bash among others)
and its man page.

Extend full-regression-test by running contrib/test_summary.
2014-04-07 21:39:52 +00:00
Gerald Pfeifer
527699133b Update to the 20140220 snapshot of GCC 4.8.3.
Set the license to a combination of GPLv3 (for the compiler itself) and
GPLv3 with GCC Runtime Library Exception (for the runtime).
2014-02-22 10:36:54 +00:00
Gerald Pfeifer
80cbfb1e2f Add missing hunk for --enable-gnu-indirect-function for previous commit. 2014-02-15 01:13:02 +00:00
Gerald Pfeifer
38cc2c9f76 Update to the 20140213 snapshot of GCC 4.8.3.
Configure with --enable-gnu-indirect-function to enable the "ifunc"
attribute, a GCC extension. [1]

Remove the man7 pages, which we are not packaging, from the staging area
to silence some warnings some are concerned about. [2]

Submitted by:   jmg [1], miwi [2]
Discussed with: kib [1], antoine [2]
2014-02-15 01:11:37 +00:00
Gerald Pfeifer
f63f6b8d46 Really commit
No longer run ccache-update-links as part of post-install which, in
  the world of staging, no longer is what it used to be.  Rely on the
  existing @exec and @unexec in pkg-plist instead. [3]

which should have been in the last revision.
2014-02-12 23:20:19 +00:00