Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2024 15:40:31 -0500
From:      mike tancsa <mike@sentex.net>
To:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   clang 17 and ports fallout
Message-ID:  <06381879-c328-4051-bb2f-9c3620d90fa0@sentex.net>

next in thread | raw e-mail | index | archive | help
After today's MFC of clang17,  I am seeing some fallout from a few ports 
that build with clang16 on RELENG_13 but now fail.  Any ideas what might 
be going on ?   I have nothing in /etc/make.conf nor /etc/src.conf


Specifically
devel/ivykis
databases/rrdtool

--- iv_thread_posix.lo ---
mv -f .deps/iv_thread_posix.Tpo .deps/iv_thread_posix.Plo
--- iv_time_posix.lo ---
mv -f .deps/iv_time_posix.Tpo .deps/iv_time_posix.Plo
--- iv_wait.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE 
-I../src/include -I../src/include -O2 -pipe -fstack-protector-strong 
-fno-strict-aliasing -Wall -MT iv_wait.lo -MD -MP -MF .deps/iv_wait.Tpo 
-c iv_wait.c -o iv_wait.o >/dev/null 2>&1
--- iv_fd_kqueue.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE 
-I../src/include -I../src/include -O2 -pipe -fstack-protector-strong 
-fno-strict-aliasing -Wall -MT iv_fd_kqueue.lo -MD -MP -MF 
.deps/iv_fd_kqueue.Tpo -c iv_fd_kqueue.c -o iv_fd_kqueue.o >/dev/null 2>&1
--- iv_signal.lo ---
mv -f .deps/iv_signal.Tpo .deps/iv_signal.Plo
--- iv_wait.lo ---
mv -f .deps/iv_wait.Tpo .deps/iv_wait.Plo
--- iv_fd_kqueue.lo ---
mv -f .deps/iv_fd_kqueue.Tpo .deps/iv_fd_kqueue.Plo
--- libivykis.la ---
/bin/sh ../libtool  --tag=CC    --mode=link cc  -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -Wall  -version-info 
5:6:5 -Wl,--version-script,../libivykis.posix.ver 
-fstack-protector-strong -o libivykis.la -rpath /usr/local/lib iv_avl.lo 
iv_event.lo iv_fatal.lo iv_task.lo  iv_timer.lo iv_tls.lo iv_work.lo 
iv_event_raw_posix.lo iv_fd.lo  iv_fd_poll.lo iv_fd_pump.lo 
iv_main_posix.lo  iv_popen.lo iv_signal.lo iv_thread_posix.lo  
iv_tid_posix.lo iv_time_posix.lo iv_wait.lo iv_fd_kqueue.lo
libtool: link: cc -shared  -fPIC -DPIC  .libs/iv_avl.o .libs/iv_event.o 
.libs/iv_fatal.o .libs/iv_task.o .libs/iv_timer.o .libs/iv_tls.o 
.libs/iv_work.o .libs/iv_event_raw_posix.o .libs/iv_fd.o 
.libs/iv_fd_poll.o .libs/iv_fd_pump.o .libs/iv_main_posix.o 
.libs/iv_popen.o .libs/iv_signal.o .libs/iv_thread_posix.o 
.libs/iv_tid_posix.o .libs/iv_time_posix.o .libs/iv_wait.o 
.libs/iv_fd_kqueue.o    -O2 -fstack-protector-strong 
-Wl,--version-script -Wl,../libivykis.posix.ver 
-fstack-protector-strong   -Wl,-soname -Wl,libivykis.so.0 -o 
.libs/libivykis.so.0.5.6
ld: error: version script assignment of 'IVYKIS_0.29' to symbol 
'iv_inotify_register' failed: symbol not defined
ld: error: version script assignment of 'IVYKIS_0.29' to symbol 
'iv_inotify_unregister' failed: symbol not defined
ld: error: version script assignment of 'IVYKIS_0.29' to symbol 
'iv_inotify_watch_register' failed: symbol not defined
ld: error: version script assignment of 'IVYKIS_0.29' to symbol 
'iv_inotify_watch_unregister' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libivykis.la] Error code 1

make[3]: stopped in /usr/ports/devel/ivykis/work/ivykis-0.42.4/src
1 error

make[3]: stopped in /usr/ports/devel/ivykis/work/ivykis-0.42.4/src

make[2]: stopped in /usr/ports/devel/ivykis/work/ivykis-0.42.4

make[1]: stopped in /usr/ports/devel/ivykis/work/ivykis-0.42.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1


gmake[3]: Leaving directory 
'/usr/ports/databases/rrdtool/work/rrdtool-1.8.0/po'
Making all in src
gmake[3]: Entering directory 
'/usr/ports/databases/rrdtool/work/rrdtool-1.8.0/src'
gmake  all-am
gmake[4]: Entering directory 
'/usr/ports/databases/rrdtool/work/rrdtool-1.8.0/src'
/bin/sh ../libtool  --tag=CC   --mode=link cc -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE 
-fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wundef -Wshadow 
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Winline -Wold-style-definition -W -I.. -D_THREAD_SAFE 
-pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  
-D_GNU_SOURCE -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wundef 
-Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition 
-W  -version-info 11:0:3 -export-symbols ./librrd.sym  
-fstack-protector-strong  -L/usr/local/lib -L/usr/local/lib  -o 
librrd.la -rpath /usr/local/lib librrd_la-rrd_version.lo 
librrd_la-rrd_last.lo librrd_la-rrd_lastupdate.lo librrd_la-rrd_first.lo 
librrd_la-rrd_dump.lo librrd_la-rrd_flushcached.lo 
librrd_la-rrd_fetch.lo librrd_la-rrd_fetch_cb.lo librrd_la-rrd_resize.lo 
librrd_la-rrd_tune.lo librrd_la-rrd_list.lo  librrd_la-rrd_restore.lo   
librrdupd.la -lglib-2.0 -lintl -lm -lwrap -lxml2
libtool: link: rm -fr  .libs/librrd.so.8.3.0-ver
libtool: link: echo "{ global:" > .libs/librrd.so.8.3.0-ver
libtool: link:           sed -e "s|$|;|" < ./librrd.sym >> 
.libs/librrd.so.8.3.0-ver
libtool: link:   echo "local: *; };" >> .libs/librrd.so.8.3.0-ver
libtool: link: cc -shared  -fPIC -DPIC .libs/librrd_la-rrd_version.o 
.libs/librrd_la-rrd_last.o .libs/librrd_la-rrd_lastupdate.o 
.libs/librrd_la-rrd_first.o .libs/librrd_la-rrd_dump.o 
.libs/librrd_la-rrd_flushcached.o .libs/librrd_la-rrd_fetch.o 
.libs/librrd_la-rrd_fetch_cb.o .libs/librrd_la-rrd_resize.o 
.libs/librrd_la-rrd_tune.o .libs/librrd_la-rrd_list.o 
.libs/librrd_la-rrd_restore.o -Wl,--whole-archive ./.libs/librrdupd.a 
-Wl,--no-whole-archive -L/usr/local/lib -lglib-2.0 -lintl -lm -lwrap 
-lxml2  -O2 -fstack-protector-strong -pthread -O2 
-fstack-protector-strong -fstack-protector-strong   -pthread -Wl,-soname 
-Wl,librrd.so.8 -Wl,-version-script -Wl,.libs/librrd.so.8.3.0-ver -o 
.libs/librrd.so.8.3.0
ld: error: version script assignment of 'global' to symbol 'rrd_graph' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'rrd_graph_v' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'rrd_lcd' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'rrd_reduce_data' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'rrd_xport' 
failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [Makefile:773: librrd.la] Error 1
gmake[4]: Leaving directory 
'/usr/ports/databases/rrdtool/work/rrdtool-1.8.0/src'
gmake[3]: *** [Makefile:618: all] Error 2
gmake[3]: Leaving directory 
'/usr/ports/databases/rrdtool/work/rrdtool-1.8.0/src'
gmake[2]: *** [Makefile:504: all-recursive] Error 1
gmake[2]: Leaving directory 
'/usr/ports/databases/rrdtool/work/rrdtool-1.8.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/rrdtool
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/rrdtool





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06381879-c328-4051-bb2f-9c3620d90fa0>