Opened 3 years ago

Closed 3 years ago

#1343 closed Bug / Defect (duplicate)

test suite is not LTO ready

Reported by: kloczek Owned by:
Priority: major Milestone:
Component: Building / Compiling Version: OpenVPN 2.5.0 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

make[5]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests/unit_tests/example_test'
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests/unit_tests/example_test'
Making check in openvpn
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests/unit_tests/openvpn'
make argv_testdriver buffer_testdriver crypto_testdriver packet_id_testdriver auth_token_testdriver ncp_testdriver tls_crypt_testdriver
make[5]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests/unit_tests/openvpn'
/bin/sh ../../../libtool --tag=CC --mode=link gcc -I../../../include -I../../../src/openvpn -I../../../src/compat -Wall -Wno-unused-parameter -Wno-unused-function -Wno-stringop-truncation -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -std=c99 -lssl -lcrypto -lpkcs11-helper -lssl -lcrypto -llzo2 -lcmocka -L../../../src/openvpn -Wl,--wrap=parse_line -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o argv_testdriver argv_testdriver-test_argv.o argv_testdriver-mock_msg.o argv_testdriver-mock_get_random.o argv_testdriver-platform.o argv_testdriver-buffer.o argv_testdriver-argv.o
libtool: link: gcc -I../../../include -I../../../src/openvpn -I../../../src/compat -Wall -Wno-unused-parameter -Wno-unused-function -Wno-stringop-truncation -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -std=c99 -Wl,--wrap=parse_line -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o argv_testdriver argv_testdriver-test_argv.o argv_testdriver-mock_msg.o argv_testdriver-mock_get_random.o argv_testdriver-platform.o argv_testdriver-buffer.o argv_testdriver-argv.o -lpkcs11-helper -lssl -lcrypto -llzo2 -lcmocka -L../../../src/openvpn
/usr/bin/ld: argv_testdriver.lto.o: in function `argv_parse_cmd.constprop.0':
/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests/unit_tests/openvpn/../../../src/openvpn/argv.c:490: undefined reference to `wrap_parse_line'
collect2: error: ld returned 1 exit status
make[5]: * [Makefile:754: argv_testdriver] Error 1
make[5]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests/unit_tests/openvpn'
make[4]:
* [Makefile:2023: check-am] Error 2
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests/unit_tests/openvpn'
make[3]: * [Makefile:420: check-recursive] Error 1
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests/unit_tests'
make[2]:
* [Makefile:474: check-recursive] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0/tests'
make[1]: * [Makefile:612: check-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openvpn-2.5.0'
make:
* [Makefile:910: check] Error 2
[tkloczko@barrel openvpn-2.5.0]$

Change History (2)

comment:1 Changed 3 years ago by kloczek

Please close that ad duplicated to #1346

Version 0, edited 3 years ago by kloczek (next)

comment:2 Changed 3 years ago by tct

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.