Re: HEADS-UP: default compiler code model has changed

Michael <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Organization The NetBSD Foundation
Message-ID <20131124113634.3b56decd@connemara>
On Sat, 16 Nov 2013 18:42:52 +0100
Martin Husemann <[email protected]> wrote:

> I recently did a few changes in -current that may impact your future
> binary compatibility, so here is a short summary of the effects.
...
> Also it may be possible that we hit bugs now (I had to fix a few ld.elf_so
> problems to get this going). If you see something strange, post here or
> file a PR!

building pkgsrc/security/nettle with kernel/userland from Friday and all /usr/pkg wiped completely gives this:
sha3-256-test.o: In function `test_main':
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:7:(.text+0x24): relocation truncated to fit: R_SPARC_GOT13 against symbol `nettle_sha3_256' defined in .data.rel.ro section in ../.libs/libnettle.so
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:762:(.text+0x237c): relocation truncated to fit: R_SPARC_GOT13 against `.LLC503'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:764:(.text+0x2394): relocation truncated to fit: R_SPARC_GOT13 against `.LLC504'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:765:(.text+0x23a0): relocation truncated to fit: R_SPARC_GOT13 against `.LLC505'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:767:(.text+0x23b8): relocation truncated to fit: R_SPARC_GOT13 against `.LLC506'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:768:(.text+0x23c4): relocation truncated to fit: R_SPARC_GOT13 against `.LLC507'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:770:(.text+0x23dc): relocation truncated to fit: R_SPARC_GOT13 against `.LLC508'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:771:(.text+0x23e8):
relocation truncated to fit: R_SPARC_GOT13 against `.LLC509'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:773:(.text+0x2400): relocation truncated to fit: R_SPARC_GOT13 against `.LLC510'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-256-test.c:774:(.text+0x240c): relocation truncated to fit: R_SPARC_GOT13 against `.LLC511'
testutils.o: In function `die':
/home/work/security/nettle/work/nettle-2.7.1/testsuite/testutils.c:41:(.text+0xf0): additional relocation overflows omitted from the output
.test-rules.make:80: recipe for target 'sha3-256-test' failed
gmake[1]: *** [sha3-256-test] Error 1
gmake[1]: *** Waiting for unfinished jobs....
sha3-224-test.o: In function `test_main':
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:7:(.text+0x24):
relocation truncated to fit: R_SPARC_GOT13 against symbol
`nettle_sha3_224' defined in .data.rel.ro section
in ../.libs/libnettle.so
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:762:(.text+0x237c): relocation truncated to fit: R_SPARC_GOT13 against `.LLC503'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:764:(.text+0x2394): relocation truncated to fit: R_SPARC_GOT13 against `.LLC504'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:765:(.text+0x23a0): relocation truncated to fit: R_SPARC_GOT13 against `.LLC505'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:767:(.text+0x23b8): relocation truncated to fit: R_SPARC_GOT13 against `.LLC506'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:768:(.text+0x23c4): relocation truncated to fit: R_SPARC_GOT13 against `.LLC507'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:770:(.text+0x23dc): relocation truncated to fit: R_SPARC_GOT13 against `.LLC508'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:771:(.text+0x23e8): relocation truncated to fit: R_SPARC_GOT13 against `.LLC509'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:773:(.text+0x2400): relocation truncated to fit: R_SPARC_GOT13 against `.LLC510'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-224-test.c:774:(.text+0x240c): relocation truncated to fit: R_SPARC_GOT13 against `.LLC511'
testutils.o: In function `die':
/home/work/security/nettle/work/nettle-2.7.1/testsuite/testutils.c:41:(.text+0xf0): additional relocation overflows omitted from the output
.test-rules.make:77: recipe for target 'sha3-224-test' failed
gmake[1]: *** [sha3-224-test] Error 1
libtool: link: gcc -pipe -mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -O2 -I/home/work/security/nettle/work/.buildlink/include -ggdb3 -Wno-pointer-sign -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-R/usr/pkg/lib sha3-384-test.o testutils.o ../nettle-internal.o -o .libs/sha3-384-test  -L.. -L/home/work/security/nettle/work/.buildlink/lib -L../.libs -lhogweed -lnettle -lgmp -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/home/work/security/nettle/work/.buildlink/lib
sha3-384-test.o: In function `test_main':
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:7:(.text+0x24): relocation truncated to fit: R_SPARC_GOT13 against symbol `nettle_sha3_384' defined in .data.rel.ro section in ../.libs/libnettle.so
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:762:(.text+0x237c): relocation truncated to fit: R_SPARC_GOT13 against `.LLC503'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:764:(.text+0x2394): relocation truncated to fit: R_SPARC_GOT13 against `.LLC504'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:765:(.text+0x23a0): relocation truncated to fit: R_SPARC_GOT13 against `.LLC505'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:767:(.text+0x23b8): relocation truncated to fit: R_SPARC_GOT13 against `.LLC506'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:768:(.text+0x23c4):
relocation truncated to fit: R_SPARC_GOT13 against `.LLC507'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:770:(.text+0x23dc): relocation truncated to fit: R_SPARC_GOT13 against `.LLC508'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:771:(.text+0x23e8): relocation truncated to fit: R_SPARC_GOT13 against `.LLC509'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:773:(.text+0x2400): relocation truncated to fit: R_SPARC_GOT13 against `.LLC510'
/home/work/security/nettle/work/nettle-2.7.1/testsuite/sha3-384-test.c:774:(.text+0x240c): relocation truncated to fit: R_SPARC_GOT13 against `.LLC511'
testutils.o: In function `die':
/home/work/security/nettle/work/nettle-2.7.1/testsuite/testutils.c:41:(.text+0xf0): additional relocation overflows omitted from the output
.test-rules.make:83: recipe for target 'sha3-384-test' failed
gmake[1]: *** [sha3-384-test] Error 1
gmake[1]: Leaving directory '/home/work/security/nettle/work/nettle-2.7.1/testsuite'
Makefile:47: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /dump/pkgsrc/security/nettle
*** Error code 1

Related?

have fun
Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.