devel/creduce: fix build with cmake 4 Event: EuroBSDcon Devsummit 202669fcb59d40
Port details
devel/creduce2.10.0.110,2
Produces small test cases
- Maintainer
- fuz@FreeBSD.org
- Packages
- creduce 2.10.0.110,2
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/csmith-project/creduce
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (50)
devel/creduce: update to 2.10.0-110 Switch back to the main branch, which now supports LLVM 18. No apparent upstream changes except for the LLVM 18 support. DISTVERSION now follows git describe, making the version go backwards; bump PORTEPOCH to account for that.0a26a83f25
devel/creduce: take maintainership Approved by: bofh (maintainer)d7c4b947c6
devel/creduce: switch to LLVM 13 branch and unbreak The main upstream release of creduce requires LLVM 9 which we no longer have in the ports tree. Fortunately, upstream provides branches with compatibility to newer LLVM releases. Switch to the LLVM 13 branch and update the port accordingly. The port version has been adjusted to reflect this. Approved by: bofh (maintainer) MFH: 2023Q2529b8173ae
*/*: Adopt ports from swills@2c2dd85355
all: return swills' ports to the pools after safeeping his ports bit. With hat: portmgr-secretary4f538db960
devel/creduce: mark broken because of incompatibility with some LLVM
/wrkdirs/usr/ports/devel/creduce/work/creduce-8d56bee/clang_delta/ExpressionDetector.cpp:62:16: error: 'InclusionDirective' marked 'override' but does not override any member functions
virtual void InclusionDirective(SourceLocation HashLoc,
^
/wrkdirs/usr/ports/devel/creduce/work/creduce-8d56bee/clang_delta/ExpressionDetector.cpp:62:16: warning: '(anonymous namespace)::IncludesPPCallbacks::InclusionDirective' hides overloaded virtual function [-Woverloaded-virtual]
/usr/local/llvm13/include/clang/Lex/PPCallbacks.h:122:16: note: hidden overloaded virtual function 'clang::PPCallbacks::InclusionDirective' declared here: type mismatch at 6th parameter ('const clang::FileEntry *' vs 'Optional<clang::FileEntryRef>')
virtual void InclusionDirective(SourceLocation HashLoc,dbc25abcb2devel/creduce: Update to latest commit (20220927) and unbreak Update to latest commit to support LLVM 15 Convert to CMake and adjust dependencies PR: 268745 Reviewed by: pkubaj, tcberner Tested by: pkubaj, brooks Approved by: portmgr (maintainer timeout, 2+ weeks)be17d4ad22
Cleanup: Remove devel/llvm[789]0 * remove old devel/llvm70 * remove old devel/llvm80 * remove old devel/llvm90 * remove ports explicitely depending on either of the three Differential Revision: https://reviews.freebsd.org/D3793621778d8958
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
devel/creduce: add crutch for using libc++ 14 with clang++ 8 C-Reduce still depends on devel/llvm80, and this is no longer compatible with libc++ 14 or higher, since libc++ now requires support for the __builtin_is_constant_evaluated() builtin function (see https://github.com/llvm/llvm-project/commit/1123100a16a321d70508e2508ebc5d57ce7163dc ). As a crutch, add a small header which defines a constexpr __builtin_is_constant_evaluated() function, and include that at the top of every compiled file, using -include, whenever the base system clang version is 14 or higher. Approved by: swills (maintainer) MFH: 2022Q1782745a8ef
cleanup: drop support for EOL FreeBSD 11.X Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index620968a43a
devel/creduce: fix build on powerpc libtool: link: /usr/local/bin/clang80 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o unifdef unifdef-unifdef.o ld: error: unifdef.c:(function main: .text+0x1C2): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x33A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x3C2): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x422): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x4EE): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x81A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x8B2): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x94A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x187A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1912): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1A0E): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1A9E): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1B16): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1B7E): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1D72): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function skipcomment: .text+0x226A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function findsym: .text+0x265A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function findsym: .text+0x275A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function eval_unary: .text+0x34D2): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function eval_unary: .text+0x356E): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)679903f446
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
devel/creduce: unbreak on powerpc64 powerpc64 soon switches to elfv2 on head, where this port builds, but it's necessary to add -mabi=elfv2 to CFLAGS, because LLVM 8 defaults to elfv1. PR: 242465 Approved by: swills0487002027
Refactor out the constant string '80' to ease future maintenance.b8c419e5f6
devel/creduce: Drop nop CONFIGURE_FLAGSa406743eac
devel/creduce: update to 2.10.08fd931d2bf
devel/creduce: update to 2.9.008dd534362
devel/creduce: update to 2.8.0bb7133263c
Move devel/p5-Sys-Cpu to devel/p5-Sys-CPU - Strip shared library - Bump PORTREVISION for package change - Bump PORTREVISION of dependent ports for dependency change - Pass maintainership to perl@2c0bfe9da5
Fix wrong PKGNAME dependency. Spotted by: Poudriere With hat: portmgrd1b8097a22
devel/creduce: Update to 2.7.0 PR: 219415 Submitted by: dim98ade2d91b
Mark some ports failing on power64. In cases where the error message was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket) Reported by: swillsfa74598719
devel/creduce: Update to 2.6.0 While here, update to use llvm39. PR: 219073 Submitted by: dim8549af2a20
Remove always-true/false conditions after 9.x, 10.[12] EOL While here, couple minor fixes portmgr blanket9c8a649e64
Remove BROKEN_FreeBSD_9 Approved by: portmgr (blanket)e0b379fa6f
- Mark broken on 9.x - Always check OPSYS along with OSVERSION Approved by: portmgr blanketf0f35476c4
devel/creduce: update to 2.5.0bf0761d61c
devel/creduce: fix build on 9.39033071422
devel/creduce: add WWW to pkg-descr54af1fde5e
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6devel/creduce: revive port Since creduce seems to be maintained after all and has recently had a release which now works with newer llvm, revive the port.f69775bc99
Remove expired ports: 2014-11-30 ports-mgmt/pkg-plist: Generate incorrect plists 2014-11-30 sysutils/rubygem-hiera-puppet: Has been incorporated into hiera 2014-11-30 sysutils/rubygem-hiera-json: Has been incorporated into hiera 2014-11-30 databases/memcachedb: Depends on deprecated Berkeley DB version, needs porting to DB_SITE 2014-12-01 games/djgame2: Online servers gone, game is not playable 20725301185e
Cleanup pliste52c1f9d98
Assume a lack of updates means a lack of interest and deprecate the creduce port as it is the last undeprecated dependency on clang32. If someone wants to update this there is a patch that builds, but does not install at: https://people.freebsd.org/~brooks/patches/creduce-2.2.0-partial.diff290932a829
Hand back my ports to the pool. Ports require time and TLC which I no longer have.4ea635fd2d
devel/creduce creduce is not actually BSD licensed.e3a8862527
devel/creduce: fix dependencies I had forgotten a += so the run depends were wrong. Further, the dep on clang won't work correctly since a version bump on clang Reported by: brooks (mostly)77384e6213
creduce/Makefile csmith/Makefile symports/Makefile: use BSD*CLAUSE The LICENSE 'BSD' was not specific enough. Now, use the new versioned licenses.938cd74f7f
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
- 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
- Removed compatibility with K&R compilers, which was untestable due
to lack of such compilers.
- New functions
. mpc_log10
. mpc_mul_2si, mpc_div_2si
- Speed-ups
. mpc_fma
- Bug fixes
. mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions.
. mpc_mul, mpc_sqr and mpc_norm now return correct results even if
there are over- or underflows during the computation.
. mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected.
. mpc_fr_sub: Wrong return value for imaginary part is corrected.
Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.
Bump PORTREVISIONS of all dependent ports.
PR: 183141
Approved by: portmgr (bdrewery)3be3e90f93- Convert to staging support - Depend on lang/clang32 instead of lang/clang due to upcoming changes [1] Requested by: brooks [1]6501262e19
Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 1)857aec5d6b
- convert to the new perl5 framework - convert USE_GMAKE to Uses Approved by: portmgr (bapt@, blanket)7e34618502
Remove now excess verbiage. Reviewed by: bapt3e61d7e801
Convert some of my ports from USE_GMAKE to USES=gmake. The remainder have other pending patches which I must finish before conversion.55a524735c
Fix pkg-plist. @dirrm was run before PORTDATA was added. This was not caught by pkgng but is caught by pkg_ tools. Reported by: itetcu Reviewed by: bapt86cb7fdf7f
Add creduce: C-Reduce is a tool which takes a large C or C++ program that has a property of interest (such as triggering a compiler bug) and automatically produces a much smaller C/C++ program that has the same property. It is intended for use by people who discover and report bugs in compilers and other tools that process C/C++ code. Reviewed by: mva, swills Tested by: swills587b3893ec