From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer Tammer Newsgroups: gmane.lisp.guile.bugs Subject: Re: stack overflow / partial success Date: Mon, 18 Feb 2008 07:11:00 +0100 Organization: Schuler Pressen GmbH & Co. KG Message-ID: <47B92174.5070300@tammer.net> References: <47B2A8DF.9070004@tammer.net> <87tzkd8bvz.fsf@gnu.org> <87ejbh8ben.fsf@gnu.org> <47B2D88F.1040505@tammer.net> <87ir0tvx6e.fsf@inria.fr> <47B3EF9A.4090400@tammer.net> <87r6fgndap.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203315088 12172 80.91.229.12 (18 Feb 2008 06:11:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2008 06:11:28 +0000 (UTC) Cc: bug-guile@gnu.org To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Feb 18 07:11:52 2008 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQzEF-0000Nu-P3 for guile-bugs@m.gmane.org; Mon, 18 Feb 2008 07:11:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQzDl-0005fA-2m for guile-bugs@m.gmane.org; Mon, 18 Feb 2008 01:11:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQzDf-0005ed-0M for bug-guile@gnu.org; Mon, 18 Feb 2008 01:11:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQzDd-0005dv-Mh for bug-guile@gnu.org; Mon, 18 Feb 2008 01:11:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQzDd-0005dn-Eu for bug-guile@gnu.org; Mon, 18 Feb 2008 01:11:13 -0500 Original-Received: from ifw.schulergroup.com ([212.87.143.254]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQzDY-0005yi-TS; Mon, 18 Feb 2008 01:11:09 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ifw.schulergroup.com (Postfix) with ESMTP id A7C33D0303C2; Mon, 18 Feb 2008 07:11:05 +0100 (CET) Original-Received: from ifw.schulergroup.com ([127.0.0.1]) by localhost (ifw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16283-05; Mon, 18 Feb 2008 07:11:04 +0100 (CET) Original-Received: from saturn.schuler.de (unknown [153.3.1.198]) by ifw.schulergroup.com (Postfix) with ESMTP id 109E5D0303AA; Mon, 18 Feb 2008 07:11:04 +0100 (CET) Original-Received: from [153.3.21.50] (rt.schuler.de [153.3.21.50]) by saturn.schuler.de (8.12.11.20060308/8.12.7/SuSE Linux 0.6) with ESMTP id m1I6B0GS003123; 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 In-Reply-To: <87r6fgndap.fsf@gnu.org> X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3796 Archived-At: Hello, Ludovic Court=E8s wrote: > Hi Rainer, > > Rainer Tammer writes: > > =20 >> I managed to compile GUILE 1.8.3+ fixes on AIX 6.1 with IBM XL C/C++ 9= .0. >> =20 > > Good news! > > =20 >> export LDFLAGS=3D"-Wl,-brtl -L/opt/freeware/lib" >> export CFLAGS=3D"-D_USE_IRS -Dinline=3D__inline__ -qtune=3Dauto -O2 >> -I/opt/freeware/include" >> =20 > > 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__'. > > =20 the inline to __inline__ mapping is needed for IBM XL C/C++. It is not=20 needed with gcc 4.2.2. > And isn't `-O2' ignored by xlc? > > =20 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'. > =20 -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 ... > =20 >> FAIL: time.test: strftime: C99 %z format: GMT >> FAIL: time.test: strftime: C99 %z format: EST+5 >> =20 > > These are the only two failures! ;-) > > Can you show the result of the following Scheme expressions in Guile: > > 1. (strftime "%z" (gmtime 0)) > > =20 guile> "GMT" > 2. (begin > (putenv "TZ=3DGMT+0") > (tzset) > (let ((tm (localtime 86400))) > (strftime "%z" tm))) > > =20 guile> "GMT" > 3. (begin > (putenv "TZ=3DEST+5") > (tzset) > (let ((tm (localtime 86400))) > (strftime "%z" tm))) > > =20 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'. > > > > =20 Bye Rainer > =20