[parisc-linux] perl/gcc bug if someone wants to look :)

Randolph Chung Randolph Chung <randolph@tausq.org>
Sun, 30 Mar 2003 16:31:53 -0800


perl-5.8 fails to build on hppa because of a test failure. The problem
can be seen very easily:

tausq@gsyprf11:~/build/perl-5.8.0$ cat t/t.pl
print log "A";
tausq@gsyprf11:~/build/perl-5.8.0$ ./perl t/t.pl
Can't take log of 2.75773e-308 at t/t.pl line 1.

that should have said:
tausq@gsyprf11:~/build/perl-5.8.0$ /usr/bin/perl t/t.pl
Can't take log of 0 at t/t.pl line 1.

interestingly, a debug build of perl (using -g and no -O flags) doesn't
have the same problem, so this looks like some kind of compiler
optimization bug. I've tried this with both 3.2.3 and 3.3... same
problems.

would anyone like to try to look at this some more and see if they can
isolate the C code/a small test case that is causing the problem?

thanks
randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/