Commit graph

18 commits

Author SHA1 Message Date
jperkin
db1332a441 Use OPSYSVARS. 2016-02-25 14:42:55 +00:00
jperkin
fc6cbc7507 Don't use GCC fixincludes on SmartOS, header changes mean that broken includes
are generated and various features end up disabled.  Bump PKGREVISION.
2016-01-21 11:53:06 +00:00
jperkin
842c8f3479 Remove mk/find-prefix.mk usage from the lang category.
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-25 12:51:16 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
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-03 22:50:31 +00:00
jperkin
77d72fae74 Skip shlibs check for libgcj_bc.so, a "fake" library used at link time
only.  Fixes build on Linux.
2015-10-20 10:26:40 +00:00
martin
a3d46c636d PR pkg/50137: restore distinfo accidently lost in previous commit 2015-08-08 12:17:33 +00:00
martin
2b09d8a6df Precompiled header fixes for NetBSD hosts. 2015-08-05 20:17:51 +00:00
wiz
8fb465ab72 Update to 4.9.3. The following bugs were fixed:
[4.9 Regression] select case with strings and -fgcse -O
[4.9 Regression] Executes wrong function inside an anonymous namespace on runtime
[4.9 Regression] Predictive commoning after loop vectorization produces incorrect code.
[4.9/5 Regression] wrong code (segfaults) at -Os on x86_64-linux-gnu
[4.9.2/5 Regression] Bootstrap broken on powerpc-apple-darwin, cc1: internal compiler error: in init_reg_sets
[4.9 Regression] FAIL: gcc.dg/ipa/pr63551.c (test for excess errors)
[4.9 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90)
[4.9/5 Regression] ERROR: can't read additional_sources: no such variable
[4.9/5 Regression] Thumb1 ICE caused by no register to spill
[4.9 Regression] GCC 4.9.2 bootstrap fails on ARM, haifa-sched.c:6507:1: internal compiler error: in lra_create
[4.9 Regression] FAIL: gcc.target/powerpc/pr53199.c scan-assembler-times *
[4.9 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491
[4.9 Regression]: Unaligned access with -O3 -mtune=k8
[4.8/4.9 Regression] Introducing an unrelated template parameter causes compilation to fail
[4.9 Regression] const int (&in)[]{1,2,3,4,5}; results in internal compiler error: Segmentation fault
[4.9/5 Regression] ICE with -frepo
[4.9/5/6 Regression] NSDMI calling constexpr constructor with pointer-to-member is not a constant expression
bootstrap failure on x32
[4.9 Regression] -O2 miscompiles with -mtune=nehalem or corei7
[4.9 Regression] Wrong results with loop vectorization of: "var[i] = ABS_EXPR<var2[i]> > 9.9e-7"
[4.9 Regression] ICE with LTO on valid code on x86_64-linux-gnu in verify_ssa (in 64-bit mode)
[4.9/5 Regression] ssa corruption when compiled with -O3
[4.9 Regression] Incorrect warning "array subscript is above array bounds"
[4.9 regression] ICE with lto related to variably modified type
[4.8 Regression] Missed vectorization with bdver1
[4.9 Regression] ICE: in extract_constrain_insn_cached, at recog.c:2117 with -flive-range-shrinkage -mdispatch-scheduler -march=bdver4
[4.9/5 regression] libsanitizer fails to build with old glibc
[4.9/5 Regression] undefined label in jump_table_data
[4.9 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913
[4.9 regression] FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2" basic block vectorized using SLP" 1
[4.9 regression] -Wunused-variable: warning supressed by virtual dtor
[4.9 Regression] Using class reference as template parameter causes compilation to fail
[4.9 Regression] gcc-4_9 inlines less funcs than gcc-4_8 because of used_as_abstract_origin flag
[4.9/5 Regression] ICE: in update_visibility_by_resolution_info, at ipa-visibility.c:427
[4.9/5 Regression] ICE: : in rs6000_delegitimize_address, at config/rs6000/rs6000.c:7051
[4.9/5 Regression] SIGBUS in gen_group_rtx compiling 64-bit gcc.dg/vect/vect-singleton_1.c
AddressSanitizer reports *-buffer-overflow in destructor when multiple virtual inheritance is used
ICE in verify_gimple_assign_single
[4.9 Regression] CSE on x86 asm()-s no longer working due to PR/60663 fix
[4.8 Regression] ICE at -O1 and above with -g enabled on x86_64-linux-gnu
[4.9/5 Regression] ICE at omp lowering
[5 Regression] ICE with lambda in default argument of template function
[4.9/5.0 Regression][c++11] ICE on variadic alias template with wrappers
[4.9/5 Regression] Error in template instantiation in GCC 4.9, works fine in GCC 4.8
[4.9/5/6 Regression] Bogus linkage errors for member class of anonymous class
[4.9/5/6 Regression] Default move assignment does not move array members
Simplifying vec_select of vec_concat miscompiles when first element of vec_concat is const_int
ICE in tree_to_uhwi, at tree.h:3668
std::this_thread::sleep_until can cause inifinite sleep
[4.9/5 Regression] std::uninitialized_copy tests assignability the wrong way, resulting in performance pessimization
-fsanitize=nonnull-attribute errors in stl_algobase.h
[UBSAN] stl_algobase.h:708:7: runtime error: null pointer passed as argument
[4.9 regression] Octave -O3 build: internal compiler error: in prepare_cmp_insn, at optabs.c:4237
[4.8 Regression] Vectorization fails because of CLOBBER statements
[4.8 Regression] Element swizzling produces invalid result with -O3
[4.8 Regression] inefficient FDO instrumentation code
[4.9 Regression] Incorrect calculation when assigning to array with -O3
[4.9 Regression] ICE: Segmentation fault with -g -flto
[4.8 Regression] wrong code at -O3 on x86_64-linux-gnu
Postreload CSE propagates aliased memory operand
Scheduler performs Invalid move of aliased memory reference
Gcc on Alpha: Error: No lda !gpdisp!282 was found
avx512fintrin.h:5344:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3494
ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte👎noalign -m32 -mtune=btver2
gnatmake doesn't report the options it actually provides to ranlib
[4.8 Regression] Const overloads resolution failure
[4.9/5 Regression] powerpc fp-bit ices at dwf_regno
Merging function DECLs discards leaf attribute which causes cfg verifier to fail
[4.9/5 Regression] Erroneous warning about taking address of register with std=c++1y
[4.9/5 Regression] ICE: verify_flow_info failed: control flow in the middle of basic block with -fprofile-generate
Missing intrinsic functions in avx512intrin.h
[4.9 Regression] array subscript is above array bounds [-Werror=array-bounds]
ICE when non-variadic template template parameter is default argument of variadic template template parameter
[4.9 Regression] Constexpr variables can trigger spurious compiler warnings
ASan reported heap-buffer-overflow in gcc.target/i386/avx256-unaligned-load{store}-7.c
ICE in GCC powerpc64le top of trunk with -mupper-regs-df
[X86_64] With -mcmodel=medium .lrodata accesses do not use 64-bit addresses
[4.9 Regression] internal compiler error: in asan_expand_check_ifn (with -fsanitize=address)
[4.9/5 Regression] [SH] Miscompilation of boolean negation on SH4 using -O2
conflicting definitions in parallel/algo.h and algorithmfwd.h
ICE: SIGSEGV in decide_alg() with -mmemset-strategy=libcall👎align -minline-all-stringops
[4.9 Regression] bootstrap error: segv in c parser
ICE: in decide_alg, at config/i386/i386.c:24510 with -mmemcpy-strategy=libcall👎align -minline-stringops-dynamically
shared_mutex compile errors on bare-metal targets
missed warning for unused variable.
ICE: SIGSEGV in get_attrs_for (trans-mem.c:179) with -fgnu-tm and #pragma GCC ivdep
[4.9/5 Regression] Undefined .L* symbol starting with jump2 on s390x
New overloads of std::is_permutation dereference past-the-end iterator
std::experimental::bad_optional_access is not default constructible
[4.9 Regression] ICE in symtab_remove_unreachable_nodes, at ipa.c:547 on arm-linux-gnueabihf
[4.8/4.9/5 Regression] ICE with {} initialized array with string
array<T,0>::begin()/end() etc. forms a null reference and breaks on clang+ubsan
Missing "using namespace literals::chrono_literals" in std::chrono
arm*-linux* "link" spec passes '-dynamic-linker' even for '-shared'
[4.9 Regression] ICE: definition in block 4 does not dominate use in block 2 with -fnon-call-exceptions -fsanitize=enum
False positive in array bound check in a for loop
[4.9 Regression] ICE (in add_stores, at var-tracking.c:6000) on arm-linux-gnueabihf
[4.9/5/6 Regression] missing DW_AT_abstract_origin for cross-unit call sites
[4.9/5 Regression] overriding final function defined out of line does not lead to an error
[4.8/4.9 Regression] ICE in avr-gcc when passing struct member to varargs function
avr_adjust_insn_length uses recog_memoized on invalid insn
[4.9/5 Regression] Memory leak with allocatable CLASS components
[4.9/5 Regression] Invalid memory reference in a compiler-generated finalizer for allocatable component
[4.9/5 Regression] NAMELIST bug with f2003: reads too far
[4.8 Regression] ICE on cyclically dependent polymorphic types
[4.9/5 Regression] [OOP] ICE on valid with finalizable array components
[4.9/5 Regression] ICE in gfc_conv_descriptor_data_get for generated finalizer
[4.9/5 Regression] -freorder-blocks-and-partition causes some failures on SH
[4.9/5 Regression] ICE(segfault) when passing coarrays around; ICE in gfc_zero_size_array in arith.c:1637
[SH][4.9 Regression] "insn does not satisfy its constraints" when compiling libmcrypt
2015-07-01 13:39:33 +00:00
ryoon
766d5555f7 Match SunOS 5.10 for Solaris 10.
Noted by jperkin@. Thank you.
2015-06-10 21:45:40 +00:00
ryoon
8c2a3c858a Fix build under Solaris 10u11.
It requires newer binutils and Solaris linker.
gfortran part is still broken for me.
2015-06-10 20:20:42 +00:00
sevan
490da9ab62 Closes PR pkg/49548
Reviewed by benz@ dholland@
2015-01-22 01:22:48 +00:00
bsiegert
d9d5ce62c7 Add a patch to fix compilation on Debian Etch. From Mikhail Gusarov in
PR pkg/49296.
2014-11-28 11:47:00 +00:00
wiz
ed23781648 Update to 4.9.2:
Over 65 bugs fixed. Details:
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.9.2
2014-11-19 15:21:45 +00:00
joerg
73843ceac6 Don't redefine putc and friends to fix build on NetBSD with libc++. 2014-09-10 12:20:00 +00:00
wiz
b6b8e06175 Fix on OS X Tiger. From Sevan Janiyan in PR 49178. 2014-09-07 07:35:14 +00:00
jperkin
a2d70e4426 Replace all references to _GCC_REQD with the appropriate logical value for
each GCC version.  Using the variable causes impossible version constraints
when a specific GCC is depended upon but the user is using something newer,
as _GCC_REQD will be set to the higher value.
2014-09-06 08:20:28 +00:00
jperkin
adceae6175 Disable gcc_cv_ld_as_needed on SunOS, it is enabled by default on 5.11
and newer but seems to have problems with specific compiler combinations
where the build fails with multilib problems.
2014-09-05 20:38:54 +00:00
jperkin
3f5a0cedea Initial import of gcc49-4.9.1 as lang/gcc49.
Changes, New Features, and Fixes in GCC 4.9 can be found here:

  https://gcc.gnu.org/gcc-4.9/changes.html

This is based heavily on lang/gcc47 but updated for GCC 4.9.1.  Tested on
SmartOS (32-bit and 64-bit) and NetBSD 6.1.4/amd64.
2014-09-04 18:43:11 +00:00