gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sol 11.3 sparc testsuite failures (ter)


From: john o goyo
Subject: Sol 11.3 sparc testsuite failures (ter)
Date: Sat, 8 Apr 2023 18:02:01 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

Greetings, Gaius.

On 2023-04-07 16:50, john o goyo wrote:
Greetings, Gaius.

On 2023-04-05 19:26, john o goyo wrote:
Greetings, Gaius.

I am looking at the testsuite failures for Sol 11.3/sparc.

The following tests all pass if the nsl and socket libraries are linked in (-lnsl -lsocket).

FAIL: gm2/switches/whole-program/pass/run/hello.mod,  -O3 -fomit-frame-pointer FAIL: gm2/switches/whole-program/pass/run/hello.mod,  -O3 -fomit-frame-pointer -finline-functions FAIL: gm2/switches/whole-program/pass/run/hello.mod,  -O3 -fomit-frame-pointer -finline-functions FAIL: gm2/switches/whole-program/pass/run/hello2.mod,  -O3 -fomit-frame-pointer FAIL: gm2/switches/whole-program/pass/run/hello2.mod,  -O3 -fomit-frame-pointer -finline-functions FAIL: gm2/switches/whole-program/pass/run/tiny.mod,  -O3 -fomit-frame-pointer FAIL: gm2/switches/whole-program/pass/run/tiny.mod,  -O3 -fomit-frame-pointer -finline-functions FAIL: gm2/switches/whole-program/pass/run/tiny2.mod,  -O3 -fomit-frame-pointer FAIL: gm2/switches/whole-program/pass/run/tiny2.mod,  -O3 -fomit-frame-pointer -finline-functions

More news to follow.

Sincerely,
john

Similarly, the following tests all pass with -lnsl -lsocket.

FAIL: gm2/projects/iso/run/pass/halma/halma.mod compilation,  -g
FAIL: gm2/projects/iso/run/pass/halma/halma.mod compilation,  -O
FAIL: gm2/projects/iso/run/pass/halma/halma.mod compilation,  -O -g
FAIL: gm2/projects/iso/run/pass/halma/halma.mod compilation,  -Os
FAIL: gm2/projects/iso/run/pass/halma/halma.mod compilation,  -O3 -fomit-frame-pointer FAIL: gm2/projects/iso/run/pass/halma/halma.mod compilation,  -O3 -fomit-frame-pointer -finline-functions

More news to follow.

Sincerely,
john

I have encountered some odd behaviour in looking at vararg2.mod.

Compiled in default 32-bit mode, the calls fail:

[~/opt/gm2/testsuite/2023-03-29]=> gm2  vararg2.mod cvararg.o -lnsl -lsocket
[~/opt/gm2/testsuite/2023-03-29]=> ./a.out
parameter is hello world and length 0

Compiled in 64-bit mode, the calls pass:

[~/opt/gm2/testsuite/2023-03-29]=> gm2 -m64 vararg2.mod cvararg.o -lnsl -lsocket
[~/opt/gm2/testsuite/2023-03-29]=> ./a.out
parameter is hello world and length 11
parameter is hello and length 5
parameter is /etc/passwd and length 11

I have no explanation at the moment.  (Trying to debug the 32-bit does not work -- the a.out calls 64-bit gm2 libraries -- and the 64-bit binary crashes gdb.  So work in progess. #6-)

Sincerely,
john





reply via email to

[Prev in Thread] Current Thread [Next in Thread]