bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] make check fails on AIX - FYI


From: aixtools
Subject: Re: [bug-gawk] make check fails on AIX - FYI
Date: Thu, 20 Aug 2015 07:58:17 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

On 2015-08-18 8:52 PM, Aharon Robbins wrote:
Hi Michael.

1. Version of gawk you're trying to compile?  It should be 4.1.3.
Latest and greatest

2. Compiler you used? GCC or AIX compiler?
address@hidden:[/data/prj/gnu/gawk]xlc -qversion
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0020


Please try the following

        make clean
        edit the Makefile to remove any -O flags and add -g in CFLAGS
        recompile
        make check

3. Do the problems go away when compiled without optimization?  If so,
    compiler bug, report to your compiler vendor and/or try a different
    compiler.
CFLAGS -- were: CFLAGS = -I/opt/include -I/opt/buildaix/include -O2 -DNDEBUG -D_XOPEN_SOURCE_EXTENDED=1 -DGAWK_AIX=1

now
CFLAGS = -I/opt/include -I/opt/buildaix/include -g -DNDEBUG -D_XOPEN_SOURCE_EXTENDED=1 -DGAWK_AIX=1

head from config.log...
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU Awk configure 4.1.3, which was
generated by GNU Autoconf 2.69.  Invocation command line was

$ ./configure --prefix=/opt --sysconfdir=/var/gawk/etc --sharedstatedir=/var/gawk/com --localstatedir=/var/gawk --mandir=/usr/share/man --infodir=/opt/share/info/gawk

4. If not, please produce stack traces from GDB for the two failing cases
    and send them to me.
Well, 98%...

Make check passes the previous full stop:
...
synerr1
synerr2
tradanch
tweakfld
uninit2
uninit3
uninit4
...
But just "goes to sleep", i,e., the system is idle, but this is what I see as output:

...
printfbad1
printfbad2
printfbad3
printfbad4
printhuge
procinfs
profile0
profile1
profile2
profile3
profile4
profile5
profile6
profile7
pty1

a) you are probably correct that it is a compiler error - just wish I was smart enough to debug that. b) I do not have gdb and I am seven left thumbs when it comes to the AIX debugger (dbx I believe), although kdb can supposedly look at things post-mortum. Also too little experience.
Thanks,
Many thanks to you!
p.s. I am taking a vacation - no computers (not even a smart phone), so my next reply will be a few weeks.
Michael

Arnold

Date: Tue, 18 Aug 2015 17:23:53 +0200
From: aixtools<address@hidden>
To: address@hidden
Subject: [bug-gawk] make check fails on AIX - FYI

Build on AIX 5.3 TL7 (my standard system for packaging) builds fine, but
make check fails at:

substr
/bin/sh: 413894 IOT/Abort trap(coredump)
./substr.ok _substr differ: byte 1, line 1
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
swaplns
synerr1
synerr2
tradanch
tweakfld
gawk: ./tweakfld.awk:41: fatal error: internal error
make: 1254-059 The signal code from the last command is 6.


Stop.
make: 1254-004 The error code from the last command is 1.

p.s. I am not subscribed to this list, so if you have questions please
make sure to reply directly.

Michael




reply via email to

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