summaryrefslogtreecommitdiff
path: root/lang/gcc48
AgeCommit message (Collapse)AuthorFilesLines
2017-07-28gcc48: backport upstream security fixmaya3-3/+85
Incorrect codegen from rdseed intrinsic use (CVE-2017-11671) We should not expand call arguments in between flags reg setting and flags reg using instructions, as it may expand with flags reg clobbering insn (ADD in this case). Attached patch moves expansion out of the link. Also, change zero-extension to non-flags reg clobbering sequence in case we perform zero-extension with and. 2017-03-25 Uros Bizjak
2017-07-10gcc{48,49}: netbsd also provides libssp in libc, adjust LINK_SSP_SPEC ↵maya3-7/+19
accordingly. already done for newer versions of gcc. Now on netbsd all gcc packages can successfully build with -fstack-protector. bump pkgrevision (sorry)
2017-07-09gcc{48,49,5,7}: on netbsd only, bump libstdc++ major to 7.maya1-3/+9
bump pkgrevision. while here, synchronize libssp comment to a clearer one. bump gcc*-lib revision to be one higher.
2017-06-22Restrict gcc gsed usage to NetBSDmaya1-2/+3
(NetBSD/mips64 progress further with gsed) Adding gsed as a tool creates circular dependencies if pkgsrc gcc is used as the bootstrap compiler. Pointed out by jperkin, sorry.
2017-06-21Use gsed when building GCC.maya1-2/+2
This is a somewhat blind commit. I've long had issues on various platforms with libgcc getting misconfigured (on netbsd/mips,arm,powerpc), for example build failures see: http://mail-index.netbsd.org/port-mips/2017/06/21/msg000832.html testing GCC 7.1 with netbsd/mips64el I got a lot further using it, but still didn't complete the build. It took hours to reach this failure, so I'd rather blindly commit the same change in the hopes it might help other architectures.
2017-06-08Take maintainership of all (recent-ish) GCC packagesmaya1-2/+2
I have gone into the depths of GCC and came back alive, so feel free to ask me about it.
2017-05-28gcc48: always link libgcc on netbsd (GCC r248037,maya4-4/+50
applied to GCC 8 and above - thanks Krister Walfridsson) libstdc++: if it thinks vswprintf is broken, don't block the entire definition of to_string, just that of to_wstring. backport of GCC r223830 already applied to GCC 4.9. this applies to netbsd-6-0. Doesn't fix any build I wanted to fix, but it does get the build of LLVM4.x further on netbsd-6-0. maybe there's an odd package that could benefit from it. bump PKGREVISION.
2017-01-22gcc48: fix build with newer (e.g. pkgsrc version) gtexinfo.maya2-1/+20
should help failing CentOS builds.
2017-01-14provide a consistent description across gcc packages.maya1-2/+1
don't mention netbsd things, development snapshots, etc.
2016-09-30Do not build with the gcc-java enabled by default.sevan1-3/+4
Add a comment to note the removal of option. Discussed on pkgsrc-users@ http://mail-index.netbsd.org/pkgsrc-users/2016/09/29/msg023796.html
2016-09-25gcc48: fix build error on netbsd/armmaya2-1/+20
configs for gcc on netbsd don't build -march=native support, but this stray prototype was left, causing build errors: gcc.o:(.rodata+0x58c4): undefined reference to `host_detect_local_cpu(int, char const**)'
2016-09-15gcc48: restore distinfo for file grabbed only when building gcc-javamaya2-2/+7
pointed out by jperkin, thanks fix netbsd gcc-java option build netbsd has gethostbyname_r in libc, but not in any headers. configure test succeeds, but compilation fails. workaround with passing ac_cv_func_gethostbyname_r=no to autoconf thanks joerg for the suggestion.
2016-09-12gcc48: update to 4.8.5maya3-13/+8
Reset PKGREVISION, set gcc48-libs PKGREVISION to 1 (+1 of gcc48) The following list of 74 PRs have been resolved in the 4.8.5 release (non-exhaustive list): 64557 get_addr in true_dependence_1 cannot handle VALUE inside an expr 66215 [4.8/4.9/5/6 Regression] Wrong after label NOP emission for -mhotpatch 66233 [4.8/4.9 Regression] internal compiler error: in expand_fix 65550 [4.8/4.9 Regression] ICE (segfault) with pch 62642 [4.8/4.9 Regression] x86 rdtsc is moved through barrier 63608 [4.8/4.9 Regression] error: type mismatch in binary expression 59626 [4.8 Regression] /usr/include/bits/unistd.h:173:1: error: inlining failed in call to always_inline 'readlinkat': recursive inlining 65549 [4.9 Regression] crash in htab_hash_string with -flto -g 59990 [4.8 regression] incorrect memcpy optimization 60656 [4.8 regression] x86 vectorization produces wrong code 66470 [4.8/4.9/5/6 Regression] TLS ICE due to ix86_split_long_move 66481 Implicit lambda capture of variable named ""closure"" causes crash 66275 __attribute__((sysv_abi)) with x86_64-w64-mingw32-gcc generates incorrect code 65680 [4.8/4.9 Regression] ICE at -O1 and above on x86_64-linux-gnu in expand_assignment 65368 [4.8/4.9 Regression]_bzhi_u32 intrinsic generates incorrect code when -O1 or above is specified and index is an immediate 64634 [4.8/4.9 Regression] gcov reports catch(...) as not executed 66123 [4.8 Regression] Array of labels as values + ternary operator + pointer arithmetic = internal compiler error 65518 [4.8 Regression] gcc consumes all memory with -O3 66140 ICE at extract_insn 65721 [4.8/4.9/5/6 Regression] Internal compiler error segmentation fault 65727 [4.8/4.9/5/6 Regression] Segfault With Decltype In Lambda Expression Used To Initialize Static Class Member 59016 f951: internal compiler error: Segmentation fault 65693 [4.8/4.9 Regression] ICE in assign_by_spills 61977 [4.8/4.9/5 Regression] powerpc preprocessor breaks on lines that end with ""vector 59513 [4.8/4.9/5 Regression] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker 65279 [4.8/4.9 Regression] std::scoped_allocator_adaptor is not assignable 65543 rvalue stream insertion and extraction operators incorrectly implemented 61138 [4.8/4.9/5 Regression] Wrong code with pointer-bounds remapping 65072 Segfault when parsing dectlype in trailing return type 65327 GCC rejects ""constexpr volatile int i = 5; 65409 [4.8/4.9/5 Regression] ICE in store_field 52579 [4.8/4.9/5 regression] i386_w32_fallback_frame_state should care ffi raw-closure stub function 60898 [4.8/4.9/5 Regression] model compile error with gfortran 4.7 and gcc 4.9 57059 [4.8/4.9/5 Regression] Host configuration of loose_warn breaks for build components for Canadian crosses 52664 [4.8 Regression]: gcc.dg/tree-ssa/pr31261.c fails 65220 [4.8/4.9/5 Regression] integer division in stack alignment for VLA allocation 43701 [4.8/4.9/5 Regression] ICE: SIGSEGV (too deep recursion) with -mno-sse and __float128 35330 [4.8/4.9/5 regression] ICE with invalid pragma weak 46102 [4.8/4.9/5 Regression] ICE: SIGSEGV in dwarf2out_finish (dwarf2out.c:8490) with -feliminate-dwarf2-dups when using precompiled headers 61634 [4.8 Regression] ICE in in vect_get_vec_def_for_operand 65063 [4.8 Regression] gcc.dg/vect/vect-double-reduc-6.c FAILs with -O3 -fno-tree-loop-ivcanon -fno-tree-vectorize 63593 ICE: verify_gimple failed: incompatible types in PHI argument 0 with -O3 -fno-tree-vectorize 63844 [4.8 Regression] open mp parallelization prevents vectorization 64493 [4.8 Regression] ICE at -O3 on x86_64-linux-gnu 64495 [4.8 Regression] ICE at -O3 for trunk and wrong code for 4.8/4.9 on x86_64-linux-gnu 64199 [4.8 Regression] ICE: tree check: expected class 'constant' 56273 [4.8 regression] Bogus -Warray-bounds warning 58123 [4.8/4.9/5 Regression] debug line not tracked for last autovariable dtor 45402 [4.8/4.9/5 Regression] ICE in extract_insn 64768 [4.8/4.9/5 Regression] internal compiler error: tree check: expected tree that contains ‘decl with RTL’ structure 63744 [4.8/4.9/5 Regression] Duplicate use-statement causes error 64979 [4.8 Regression] stdarg optimization not able to find escape sites in phi nodes 57653 [4.8/4.9 Regression] filename information discarded when using -imacros 60718 [4.8/4.9 regression] Test case gfortran.dg/select_type_4.f90 fails on ARM 64479 [4.8 Regression][SH] wrong optimization delayed-branch 39722 [4.8/4.9 Regression][cond-optab] worse code with bitfields on v850 64882 ICE on valid code at -O3 with -g enabled in simplify_subreg 61058 [4.8/4.9 Regression] ICE: RTL check: expected elt 3 type 'B' 64513 [4.8/4.9 Regression] ICE: in maybe_record_trace_start 64766 [4.8/4.9 Regression] internal compiler error: tree check: expected block 64487 [4.8/4.9 Regression] internal compiler error: in fold_offsetof_1 62044 [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type 57748 [4.8 Regression] ICE when expanding assignment to unaligned zero-sized array 57023 [4.8 Regression] Not packing arrays with changing variable used for size 52306 [4.8 regression] ICE in cselib_record_set 52714 [4.8 regression] ICE in fixup_reorder_chain 58369 [4.8 regression] ICE in subreg_get_info when compiling boost for m68k-linux 63733 [4.8/4.9/5 Regression] [OOP] wrong resolution for OPERATOR generic
2016-09-06gcc48: simplify comment in Makefilemaya1-5/+2
2016-09-05gcc48: limit disabling of libssp to netbsd only, requested by jperkinmaya1-5/+10
other platforms supporting _FORTIFY_SOURCE will likely want to disable it too bump PKGREVISION
2016-09-04lang/gcc48: disable libsspmaya3-4/+32
netbsd only: link against libc when building shared. libssp is broken as it has headers like ssp/stdio.h which include <ssp.h>, when only ssp/ssp.h exists. simply building hello world (including stdio.h) with -D_FORTIFY_SOURCE will fail. netbsd building of shared was broken as it did not link against libc when making shared. adjust the spec file so it will do this. bump PKGREVISION XXX - all the other versions of GCC likely need the same thanks joerg for the help
2016-07-09Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.wiz1-2/+2
2016-04-19Set CHECK_SHLIBS_SUPPORTED=no when gcc-java is enabled, for whatever reasonjperkin1-1/+4
the recent change to include libiconv causes a bunch of failures.
2016-03-14add libiconv buildlink3 dependency, bump PKGREVISIONdbj1-1/+3
2016-02-25Use OPSYSVARS.jperkin2-24/+15
2015-11-25Remove mk/find-prefix.mk usage from the lang category.jperkin1-3/+1
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-03Add SHA512 digests for distfiles for lang categoryagc1-1/+3
Problems found with existing digests: Package nhc98 distfile nhc98src-1.22.tar.gz a8adc8f22371998ee0657bc0e01058a57d876abc [recorded] 81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated] Problems found locating distfiles: Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz Package icc11: missing distfile l_cproc_p_11.1.080.tgz Package jini: missing distfile jini-1_2_1_001-src.zip Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2 Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz Package sun-jre6: missing distfile jce_policy-6.zip Package sun-jre6: missing distfile jre-6u45-linux-x64.bin Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-11-03Various fixes to get this working on El Capitan / Xcode 7:jperkin5-10/+420
* Pull in patch from MacPorts to handle 10.11 SDK header issue with fixincludes. * Backport upstream bugfix for GCC bug 66523, fixing an issue with Xcode 7. * Pull in --with-build-config=bootstrap-debug change from FreeBSD ports to fix bootstrap compare issue seen with clang / Xcode 7.
2015-10-09Skip shlibs check for libgcj_bc.so, a "fake" library used at link timejperkin1-1/+4
only. Fixes build on Linux.
2015-09-11Expand _GCC_REQD to avoid impossible constraints.jperkin1-3/+3
2015-08-25bring back ecj-4.5.jar checksumswiedi1-1/+4
2015-08-05Adjust the precompiled header changes to the latest version used in themartin2-7/+4
NetBSD tree
2015-06-19The ${PREFIX}/include/ansidecl.h installed by devel/binutils is notdsainty2-1/+20
necessarily compatible (E.g. binutils-2.25 does not define PARAMS). Adjust the include path priority so the internal ansidecl.h gets precedence, allowing cp-demangle.c to use libiberty.h without compilation errors.
2015-06-03Fix build on Linux by removing erroneous patching.dsainty2-21/+4
The removed hunk is definitely wrong, but I can't figure out what it was trying to do. I think the patch hunk was accidentally reintroduced in r1.4 after being correctly removed in r1.3. The reason it is wrong is because it breaks later tests by introducing code into confdefs.h. The following tests always break, because they have duplicate main() definitions. Build test on NetBSD works because the java support isn't in the suggested options anyway.
2015-04-10GCC_REQD+=4.4, because 4.2 can't build it due to the package needingrodent1-1/+2
omp_lock_t.
2015-03-12Update to 4.8.4ryoon3-8/+7
* Reset gcc48-libs' PKGREVISION to 1 Changelog: * Bugfixes.
2015-01-27Fix build issues on Darwindbj3-2/+23
2015-01-15Restore PLIST.java, fixes Darwin (and others) build.jperkin1-0/+42
2015-01-14Add back missing ecj-4.5.jarjperkin1-1/+4
2014-11-28Bump PKGREVISION.obache25-392/+221
* Fixes regressions, revive parts removed at "Fix build under OpenBSD/amd64 5.5" * Drop default behaviour changes and local features from OpenBSD ports, it break other platforms, at least, NetBSD-6.0/i386. * Remove needless patches after "Restore monolithic gcc48 and gcc48-libs".
2014-11-26fixes dependency pattern, PKGBASE is "gcc48", not "gcc".obache1-3/+3
2014-10-31Restore monolithic gcc48 and gcc48-libs.ryoon7-285/+292
* No objection on tech-pkg@ mailing list.
2014-10-05Fix ``Please add a line "# used by foo/bar/Makefile" here.'' warnings.wiz1-1/+6
2014-06-01Remove unused buildlink3.mkryoon1-36/+0
2014-05-31Update to 4.8.3ryoon59-344/+2112
* Convert gcc48 to simple meta-pkg * Potentially fix non-NetBSD packaging * Fix gcc48-libs/gcc48-cc++ build under OpenBSD/amd64 5.5 * Enable graphite option, from wip/gcc48snapshot via Xiyue Deng * Tweak nls option Changelog: GCC 4.8.3 This is the [35]list of problem reports (PRs) from GCC's bug tracking system that are known to be fixed in the 4.8.3 release. This list might not be complete (that is, it is possible that some PRs that have been fixed are not listed here). Support for the new powerpc64le-linux platform has been added. It defaults to generating code that conforms to the ELFV2
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-05-20Fixes for Darwinadam1-2/+8
2014-05-17Bump applications PKGREVISIONs for python users that might be usingwiz1-2/+2
python3, since the default changed from python33 to python34. I probably bumped too many. I hope I got them all.
2014-05-10x86-64 sunos fix for g++ and -Wl,-Bdirect involving libtoolrichard7-3/+108
references:http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 backport to gcc47 and gcc48
2014-04-23Include missing mk/bsd.options.mkryoon1-1/+3
2014-04-23Remove bogus commentryoon1-2/+1
2014-04-23Bump PKGREVISION of gcc48-libsryoon1-4/+2
Disable Java libraries by default.
2014-04-22Split gcc48 to libraries and langusages packagesryoon8-118/+278
* All gcc48-* depend on gcc48-libs * Add gcc48-cc++, gcc48-fortran, and gcc48-objc * gcc48 is meta package now
2014-04-08Fix syntax errror. This fixes the build on FreeBSD.asau2-4/+4
2014-02-25Re-add ecj-4.5.jar checksum. Noted by Kai-Uwe Eckhardt <kuehro@gmx.de> in ↵wiz1-1/+4
private mail.