1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
Mirror of the FreeBSD ports git repo https://git.FreeBSD.org/ports.git .
Go to file
Dimitry Andric e406118f77 java/openjdk13 java/openjdk14 java/openjdk15 java/openjdk16 java/openjdk17 java/openjdk17-jre: fix build with clang 14
During an exp-run for llvm 14 (see bug 261742), it turned out that
java/openjdk13 and java/openjdk17 fail to build with clang 14 (but this
also affects openjdk14 through 16):

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_serviceThread.o:
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
      while (((sensors_changed = LowMemoryDetector::has_pending_requests()) |
             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15: note: cast one or both operands to int to silence this warning
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
      while (((sensors_changed = LowMemoryDetector::has_pending_requests()) |
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15: note: cast one or both operands to int to silence this warning
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
      while (((sensors_changed = LowMemoryDetector::has_pending_requests()) |
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15: note: cast one or both operands to int to silence this warning
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
      while (((sensors_changed = LowMemoryDetector::has_pending_requests()) |
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ... (rest of output omitted)

Although the warning is normally an indication of a potential problem,
in this case a comment just before the affected code explictly mentions
the reason for using bitwise '|' instead of logical '||':

      // Process all available work on each (outer) iteration, rather than
      // only the first recognized bit of work, to avoid frequently true early
      // tests from potentially starving later work.  Hence the use of
      // arithmetic-or to combine results; we don't want short-circuiting.

(See
<https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/serviceThread.cpp#L140>)

Therefore, we should suppress -Wbitwise-instead-of-logical for clang 14
and higher.

PR:		262845
Approved by:	portmgr (build fix blanket)
MFH:		2022Q2
2022-04-04 09:56:40 +02:00
.hooks
accessibility textproc/libxml2: bump all dependencies 2022-03-26 09:27:27 +01:00
arabic */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
archivers */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
astro */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
audio audio/virtual_oss: Update to 1.2.21 2022-04-03 12:52:24 +02:00
base
benchmarks */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
biology */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
cad */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
chinese */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
comms */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
converters */*: Bump PORTREVISION after lang/go 1.18 update 2022-03-30 03:01:44 -04:00
databases databases/py-alembic16: New port 2022-04-03 16:14:48 -05:00
deskutils deskutils/qownnotes: update QOwnNotes to version 22.3.4. 2022-04-03 13:53:10 +00:00
devel devel/gradle: Update to 7.4.2 2022-04-04 01:32:17 -04:00
dns dns/doh-proxy: update to 0.9.3 2022-04-04 09:21:55 +02:00
editors editors/vim: Update to 8.2.4669, add x11 support, drop Athena 2022-04-02 16:13:32 -06:00
emulators emulators/yuzu: update to s20220402 2022-04-03 00:32:35 +00:00
finance */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
french */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
ftp */*: Bump PORTREVISION after lang/go 1.18 update 2022-03-30 03:01:44 -04:00
games games/fs2open: update to 22.0.0 2022-04-02 20:31:20 +00:00
german */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
graphics graphics/gscan2pdf: update to 2.12.6 2022-04-03 19:03:53 +02:00
hebrew */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
hungarian */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
irc irc/epic5: update maintainer 2022-03-30 19:41:43 +03:00
japanese all: drop support for EOL FreeBSD 12.2 2022-04-01 17:53:18 +02:00
java java/openjdk13 java/openjdk14 java/openjdk15 java/openjdk16 java/openjdk17 java/openjdk17-jre: fix build with clang 14 2022-04-04 09:56:40 +02:00
Keywords x11-fonts/fontconfig: Use triggers to rebuild fc-cache 2022-03-22 13:29:52 +01:00
korean */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
lang lang/perl5-devel: update to v5.35.10-49-ga3ccbff349 2022-04-04 09:08:44 +02:00
mail mail/postfix-current: Update to 3.8-20220325 2022-04-03 09:27:32 +02:00
math all: drop support for EOL FreeBSD 12.2 2022-04-01 17:53:18 +02:00
misc */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
Mk Uses/php.mk: Helper variable to disable FLAVOR 2022-04-03 16:33:58 -05:00
multimedia graphics/py-glfw: Update to 2.5.2 2022-04-01 20:50:03 -07:00
net net/oha: Update to 0.5.1 2022-04-03 08:30:04 +02:00
net-im net-im/ruqola: update to 1.7.0 2022-04-02 20:12:06 +02:00
net-mgmt net-mgmt/nagios-plugins: update to 2.4.0 2022-04-04 09:27:07 +02:00
net-p2p */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
news news/tin: Update to 2.6.1 2022-04-03 15:09:59 -07:00
polish */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
ports-mgmt */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
portuguese */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
print print/ghostscript9-agpl-base: Fix build on armv7 2022-04-03 09:37:54 +02:00
russian */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
science */*: fix trailing whitespace in pkg-descr's 2022-04-01 18:09:49 +03:00
security security/gnupg-pkcs11-scd: update to 0.10.0 2022-04-04 09:35:31 +02:00
shells */*: Bump PORTREVISION after lang/go 1.18 update 2022-03-30 03:01:44 -04:00
sysutils sysutils/hw-probe: the port had been updated to version 1.6.3. 2022-04-04 04:52:28 +00:00
Templates
textproc textproc/cg3: New Port 2022-04-03 15:23:04 -05:00
Tools Tools/scripts: limit scope the script searches 2022-03-28 09:40:46 +02:00
ukrainian */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
vietnamese */libreoffice*: update to 7.3.2 release (+) 2022-03-31 20:49:20 +03:00
www www/grafana7: Update to upstream version 7.5.15 2022-04-04 07:43:43 +02:00
x11 x11/x3270: (and net/c3270) Update to 4.1ga13 2022-04-03 15:47:21 -07:00
x11-clocks textproc/libxml2: bump all dependencies 2022-03-26 09:27:27 +01:00
x11-drivers x11-drivers/xorgxrdp-devel: Add new port 2022-04-04 13:54:07 +09:00
x11-fm x11-fm/thunar: Update to 4.16.11 2022-04-03 10:54:41 +02:00
x11-fonts x11-fonts/fontpreview: fix script to use nsxiv instead of sxiv 2022-04-01 15:52:01 +02:00
x11-servers x11-servers/xwayland-devel: update to 21.0.99.1.177 2022-03-17 18:02:44 +00:00
x11-themes x11-themes/skeuos-gtk-themes: Update to 20220315 2022-04-02 19:46:08 +02:00
x11-toolkits x11-toolkits/gtk-layer-shell: silence gtk3 warning after 89fb405a86 2022-04-03 17:10:38 +00:00
x11-wm x11-wm/phoc: update to 0.13.1 2022-04-02 00:28:00 +00:00
.arcconfig
.gitignore
CHANGES
CONTRIBUTING.md
COPYRIGHT
GIDs GIDs: Fix typos to buildbot group 2022-03-18 18:35:49 -05:00
Makefile
MOVED security/libpreludedb: Resurrect 2022-04-02 04:38:33 -05:00
README
UIDs
UPDATING UPDATING: fix trailing whitespace 2022-04-01 18:09:49 +03:00

This is the FreeBSD Ports Collection.  For an easy to use
WEB-based interface to it, please see:

	https://www.FreeBSD.org/ports

For general information on the Ports Collection, please see the
FreeBSD Handbook ports section which is available from:

	https://docs.freebsd.org/en/books/handbook/ports/
		for the latest official version
	or:
	The ports(7) manual page (man ports).

These will explain how to use ports and packages.

If you would like to search for a port, you can do so easily by
saying (in /usr/ports):

	make search name="<name>"
	or:
	make search key="<keyword>"

which will generate a list of all ports matching <name> or <keyword>.
make search also supports wildcards, such as:

	make search name="gtk*"

For information about contributing to FreeBSD ports, please see the Porter's
Handbook, available at:

	https://docs.freebsd.org/en/books/porters-handbook/

NOTE:  This tree will GROW significantly in size during normal usage!
The distribution tar files can and do accumulate in /usr/ports/distfiles,
and the individual ports will also use up lots of space in their work
subdirectories unless you remember to "make clean" after you're done
building a given port.  /usr/ports/distfiles can also be periodically
cleaned without ill-effect.