[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stack overflow / partial success
From: |
Rainer Tammer |
Subject: |
Re: stack overflow / partial success |
Date: |
Mon, 18 Feb 2008 07:11:00 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 |
Hello,
Ludovic Courtès wrote:
Hi Rainer,
Rainer Tammer <address@hidden> writes:
I managed to compile GUILE 1.8.3+ fixes on AIX 6.1 with IBM XL C/C++ 9.0.
Good news!
export LDFLAGS="-Wl,-brtl -L/opt/freeware/lib"
export CFLAGS="-D_USE_IRS -Dinline=__inline__ -qtune=auto -O2
-I/opt/freeware/include"
Isn't it the `inline' thing that made it work? You did not include
`config.log' and `config.h': normally, these should already define
`inline' as `__inline__'.
the inline to __inline__ mapping is needed for IBM XL C/C++. It is not
needed with gcc 4.2.2.
And isn't `-O2' ignored by xlc?
It is used if I specify it. I will try if configure finds this by itself.
Besides, can you explain what `_USE_IRS' is about and whether it's
needed? Same for `-brtl'.
-brtl is for runtime linking of the executable.
This is from netdb.h AIX 6.1:
void freehostent(struct hostent *); /* RFC 2553 */
#ifdef _USE_IRS
void herror(const char *);
const char * hstrerror(int);
#endif /* _USE_IRS */
struct hostent *gethostbyname2(const char *, int);
So if I need herror() / hsterror() I need to define _USE_IRS ...
FAIL: time.test: strftime: C99 %z format: GMT
FAIL: time.test: strftime: C99 %z format: EST+5
These are the only two failures! ;-)
Can you show the result of the following Scheme expressions in Guile:
1. (strftime "%z" (gmtime 0))
guile> "GMT"
2. (begin
(putenv "TZ=GMT+0")
(tzset)
(let ((tm (localtime 86400)))
(strftime "%z" tm)))
guile> "GMT"
3. (begin
(putenv "TZ=EST+5")
(tzset)
(let ((tm (localtime 86400)))
(strftime "%z" tm)))
guile> "EST"
and this is TZ:
# echo $TZ
NFT-1DFT,M3.5.0/2:00:00,M10.5.0/3:00:00
Thanks a lot for your help and perseverance!
Ludo'.
Bye
Rainer
- stack overflow, Rainer Tammer, 2008/02/13
- Re: stack overflow, Ludovic Courtès, 2008/02/13
- Re: stack overflow, Ludovic Courtès, 2008/02/13
- Re: stack overflow, Rainer Tammer, 2008/02/13
- Re: stack overflow, Ludovic Courtès, 2008/02/13
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/14
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/14
- Re: stack overflow / partial success,
Rainer Tammer <=
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/18
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/18
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/18
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/18
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/18
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/19
- Re: stack overflow / partial success, Ludovic Courtès, 2008/02/19
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/20
- Re: stack overflow / partial success, Rainer Tammer, 2008/02/20
- GUILE 1.8.4 on AIX 6.1, Rainer Tammer, 2008/02/20