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: guile 1.8.3 compilation errors on AIX 6.1 Date: Mon, 04 Feb 2008 10:03:26 +0100 Organization: Schuler Pressen GmbH & Co. KG Message-ID: <47A6D4DE.5090304@tammer.net> References: <47A45E2D.8080201@tammer.net> <873as9oay6.fsf@ossau.uklinux.net> <47A6C151.1020808@tammer.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202115833 16674 80.91.229.12 (4 Feb 2008 09:03:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Feb 2008 09:03:53 +0000 (UTC) Cc: bug-guile@gnu.org To: Neil Jerram Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Feb 04 10:04:14 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 1JLxFK-0003OI-Hl for guile-bugs@m.gmane.org; Mon, 04 Feb 2008 10:04:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLxEs-0005vl-Fp for guile-bugs@m.gmane.org; Mon, 04 Feb 2008 04:03:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLxEk-0005tY-TJ for bug-guile@gnu.org; Mon, 04 Feb 2008 04:03:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLxEj-0005sI-RV for bug-guile@gnu.org; Mon, 04 Feb 2008 04:03:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLxEj-0005s2-La for bug-guile@gnu.org; Mon, 04 Feb 2008 04:03:33 -0500 Original-Received: from ifw.schulergroup.com ([212.87.143.254]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLxEj-0004ji-Uv for bug-guile@gnu.org; Mon, 04 Feb 2008 04:03:34 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ifw.schulergroup.com (Postfix) with ESMTP id 6B08CD0303AF; Mon, 4 Feb 2008 10:03:32 +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 18031-01; Mon, 4 Feb 2008 10:03:32 +0100 (CET) Original-Received: from saturn.schuler.de (unknown [153.3.1.198]) by ifw.schulergroup.com (Postfix) with ESMTP id E8ECAD030389; Mon, 4 Feb 2008 10:03:31 +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 m1493QHZ004276; Mon, 4 Feb 2008 10:03:26 +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: <47A6C151.1020808@tammer.net> 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:3766 Archived-At: Hello Neil, sorry to bother you again (and again)... There is also a problem in filesys.c The function #define FUNC_NAME s_scm_readdir { struct dirent_or_dirent64 *rdent; [...] declares "DIR *ds..." and later calls SCM_SYSCALL (readdir_r_or_readdir64_r (ds, (struct dirent_or_dirent64 *) buf, &rdent)); The problem is that (at least AIX) expects DIR64 for ds... => readdir64_r uses DIR64 => readdir_r uses DIR There is also a problem in net_db.c hstrerror needs _USE_IRS defined on AIX otherwise you get a compilation error... With this changes I can compile guile 1.8.3 on AIX 6.1. check Result: gmake check-TESTS gmake[4]: Entering directory `/daten/source/guile-1.8.3/test-suite/standalone' PASS: test-system-cmds PASS: test-require-extension PASS: test-num2integral PASS: test-round PASS: test-gh PASS: test-asmobs PASS: test-list PASS: test-unwind PASS: test-conversion PASS: test-use-srfi =================== All 10 tests passed =================== gmake check-TESTS gmake[2]: Entering directory `/daten/source/guile-1.8.3' Testing /daten/source/guile-1.8.3/pre-inst-guile ... with GUILE_LOAD_PATH=/daten/source/guile-1.8.3/test-suite Running alist.test Running and-let-star.test Running arbiters.test Running bit-operations.test Running c-api.test Running chars.test Running common-list.test Running continuations.test Running elisp.test Running environments.test Running eval.test ;;; (foo-pws) UNRESOLVED: eval.test: promises: basic promise behaviour: a forced promise does not reference its environm ent Running exceptions.test Running filesys.test Running format.test Running fractions.test Running ftw.test Running gc.test Running getopt-long.test Running goops.test Running guardians.test UNRESOLVED: guardians.test: standard guardian functionality: guarding independent objects: re-guarding non -immediates UNRESOLVED: guardians.test: standard guardian functionality: guarding weakly referenced objects: guarded e lement of weak vector gets eventually removed from weak vector UNRESOLVED: guardians.test: standard guardian functionality: guarding weak containers: element of guarded weak vector gets collected Running hash.test Running hooks.test Running import.test Running interp.test Running list.test Running load.test Running modules.test Running numbers.test FAIL: numbers.test: /: 1/complex: (/ 1e200+1e200i) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (64 332306998946228949779207691360534527 3.32306998946229e35): pos: (= 3.32306998946229e35) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (64 332306998946228949779207691360534527 3.32306998946229e35): neg: (= -3.32306998946229e35) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (65 664613997892457899558415382721069055 6.64613997892458e35): pos: (= 6.64613997892458e35) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (65 664613997892457899558415382721069055 6.64613997892458e35): neg: (= -6.64613997892458e35) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (66 1329227995784915799116830765442138111 1.32922799578492e36): pos: (= 1.32922799578492e36) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (66 1329227995784915799116830765442138111 1.32922799578492e36): neg: (= -1.32922799578492e36) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (67 2658455991569831598233661530884276223 2.65845599156983e36): pos: (= 2.65845599156983e36) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (67 2658455991569831598233661530884276223 2.65845599156983e36): neg: (= -2.65845599156983e36) FAIL: numbers.test: exact->inexact: mantdig ones then 011..11, round down: (68 5316911983139663196467323061768552447 5.31691198313966e36): pos: (= 5.31691198313967e36) [...] Running optargs.test Running options.test Running poe.test Running popen.test Running ports.test UNRESOLVED: ports.test: port-for-each: passing freed cell Running posix.test Running q.test Running r4rs.test Running r5rs_pitfall.test Running ramap.test Running reader.test Running receive.test Running regexp.test Running socket.test FATAL: memory error in realloc /usr/bin/bash: line 1: 393334 IOT/Abort trap (core dumped) ${dir}$tst FAIL: check-guile ================================== 1 of 1 tests failed Please report to bug-guile@gnu.org ================================== Bye Rainer