Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922787 - net-misc/ntp-4.2.8_p17-r1 fails to build tests on ppc: ntp_config.o:(.got2+0x1c4): undefined reference to `Version' (and others)
Summary: net-misc/ntp-4.2.8_p17-r1 fails to build tests on ppc: ntp_config.o:(.got2+0x...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 909110
  Show dependency tree
 
Reported: 2024-01-23 19:33 UTC by matoro
Modified: 2024-01-23 19:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_922787.txt,481.46 KB, text/plain)
2024-01-23 19:34 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-23 19:33:54 UTC
I could absolutely swear that this built for me before when I was testing earlier, but now it doesn't, so this might be a toolchain issue?

Unlike the previous issue, this does NOT reproduce on other 32-bit arches e.g. arm.  It also does not reproduce on ppc64.

libtool: link: powerpc-unknown-linux-gnu-cc -ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -Wno-strict-prototypes -O2 -mcpu=powerpc -mtune=powerpc -pipe -Wl,-O1 -o test-ntp_signd t-ntp_signd.o run-t-ntp_signd.o test-libntp.o -Wl,--gc-sections ../../ntpd/ntp_config.o ../../ntpd/ntp_io.o  -Wl,--as-needed ../../ntpd/libntpd.a ../../libntp/libntp.a -lssl -lcrypto -ldl //usr/lib/gcc/powerpc-unknown-linux-gnu/11/libatomic.so ../../sntp/unity/libunity.a -lm -pthread -Wl,-rpath -Wl,//usr/lib/gcc/powerpc-unknown-linux-gnu/11
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_config.o:(.got2+0x1c4): undefined reference to `Version'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_config.o:(.got2+0x20c): undefined reference to `ntpdOptions'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_config.o: in function `dump_config_tree':
ntp_config.c:(.text.dump_config_tree+0xac): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x1bc): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x234): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x280): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x2f4): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_config.o:ntp_config.c:(.text.dump_config_tree+0x49c): more undefined references to `keyword' follow
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_config.o: in function `dump_config_tree':
ntp_config.c:(.text.dump_config_tree+0xe58): undefined reference to `quote_if_needed'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0xe64): undefined reference to `quote_if_needed'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x102c): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x10b8): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x10e0): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x1114): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.dump_config_tree+0x1154): undefined reference to `keyword'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_config.o:ntp_config.c:(.text.dump_config_tree+0x117c): more undefined references to `keyword' follow
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_config.o: in function `save_and_apply_config_tree':
ntp_config.c:(.text.save_and_apply_config_tree+0x2f10): undefined reference to `token_name'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.save_and_apply_config_tree+0x2fa8): undefined reference to `token_name'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_config.o: in function `config_remotely':
ntp_config.c:(.text.config_remotely+0x68): undefined reference to `lex_init_stack'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.config_remotely+0x88): undefined reference to `yyparse'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ntp_config.c:(.text.config_remotely+0x8c): undefined reference to `lex_drop_stack'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_io.o:(.got2+0x94): undefined reference to `listen_to_virtual_ips'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/ntp_io.o:(.got2+0x17c): undefined reference to `ntpdOptions'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/libntpd.a(ntp_control.o):(.got2+0x2ec): undefined reference to `Version'
/usr/lib/gcc/powerpc-unknown-linux-gnu/11/../../../../powerpc-unknown-linux-gnu/bin/ld: ../../ntpd/libntpd.a(ntp_proto.o):(.got2+0x158): undefined reference to `daemon_pipe'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:1000: test-ntp_signd] Error 1

Reproducible: Always
Comment 1 matoro archtester 2024-01-23 19:34:30 UTC
Created attachment 883000 [details]
build.log and emerge --info