From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117021 invoked by alias); 17 May 2017 12:53:54 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 117000 invoked by uid 89); 17 May 2017 12:53:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=rebuilt, mardi, sk:libffi-, sk:libffi X-HELO: smtppost.atos.net Received: from smtppost.atos.net (HELO smtppost.atos.net) (193.56.114.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 17 May 2017 12:53:51 +0000 Received: from mail2-ext.my-it-solutions.net (mail2-ext.my-it-solutions.net) by smarthost6.atos.net with smtp (TLS: TLSv1/SSLv3,256bits,ECDHE-RSA-AES256-SHA) id 345d_7507_2ce80a85_0902_4c2b_899b_1287096b4963; Wed, 17 May 2017 14:53:51 +0200 Received: from mail2-int.my-it-solutions.net ([10.92.32.13]) by mail2-ext.my-it-solutions.net (8.15.2/8.15.2) with ESMTPS id v4HCrpHC025196 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 May 2017 14:53:51 +0200 Received: from FRAUVJ99ET2MSX.ww931.my-it-solutions.net ([172.23.231.42]) by mail2-int.my-it-solutions.net (8.15.2/8.15.2) with ESMTPS id v4HCrovq024712 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 17 May 2017 14:53:51 +0200 Received: from FRAUVJ99ET3MSX.ww931.my-it-solutions.net (172.23.231.44) by FRAUVJ99ET2MSX.ww931.my-it-solutions.net (172.23.231.42) with Microsoft SMTP Server (TLS) id 14.3.339.0; Wed, 17 May 2017 14:53:50 +0200 Received: from FRCRPVV9EX3MSX.ww931.my-it-solutions.net ([169.254.6.53]) by FRAUVJ99ET3MSX.ww931.my-it-solutions.net ([172.23.231.44]) with mapi id 14.03.0339.000; Wed, 17 May 2017 14:53:50 +0200 From: "REIX, Tony" To: David Edelsohn CC: GCC Patches , "SARTER, MATTHIEU (ext)" Subject: RE:[PATCH,AIX] Enable FFI Go Closure on AIX Date: Wed, 17 May 2017 12:54:00 -0000 Message-ID: References: , In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg01381.txt.bz2 Hi, We have built and installed the libffi master of yesterday on a AIX 6.1 mac= hine and we have rebuilt and tested Python3 (3.5.2) with this libffi. And t= hat is OK. 32bit and 64bit. 5 more tests were run and succeeded. And 1 test (test_ssl) which was skipped before is now run but failed due to= no access to Web (Resource 'sha256.tbs-internet.com' is not available). So. our patch does not break libffi build and tests, nor Python3 build and = tests. That looks OK. We'll submit the patch to the libffi project now. Regards, Tony With New libffi: 369 tests OK. 12 tests failed: test_asyncio test_distutils test_eintr test_httpservers test_locale test_posix test_socket test_ssl test_tools test_urllib2 test_urllib2_localnet test_urllib2net 1 test altered the execution environment: test_io 16 tests skipped: test_devpoll test_epoll test_gdb test_kqueue test_msilib test_ossaudiodev test_pep277 test_spwd test_startfile test_tix test_tk test_ttk_guionly test_unicode_file test_winreg test_winsound test_zipfile64 With previous libffi: 364 tests OK. 11 tests failed: test_asyncio test_distutils test_eintr test_httpservers test_locale test_posix test_socket test_tools test_urllib2 test_urllib2_localnet test_urllib2net 1 test altered the execution environment: test_io 22 tests skipped: test_devpoll test_epoll test_gdb test_idle test_kqueue test_msilib test_ossaudiodev test_pep277 test_smtpnet test_spwd test_ssl test_startfile test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly test_turtle test_unicode_file test_winreg test_winsound test_zipfile64 # rpm -qa | grep python3 python3-3.5.2-3 # rpm -qa | grep ffi libffi-devel-20170516-1 libffi-20170516-1 # ldd python python needs: /usr/lib/threads/libc.a(shr.o) /usr/lib/libpthreads.a(shr_xpg5.o) /opt/freeware/src/packages/BUILD/Python-3.5.2/64bit/libpython3.5m.= so /opt/freeware/lib/libffi.a(libffi.so.7) /unix /usr/lib/libcrypt.a(shr.o) /usr/lib/libpthreads.a(shr_comm.o) /opt/freeware/lib/libgcc_s.a(shr.o) /usr/lib/threads/libc.a(shr_64.o) /usr/lib/libpthreads.a(shr_xpg5_64.o) /opt/freeware/lib/libintl.a(libintl.so.9) /usr/lib/libcrypt.a(shr_64.o) /opt/freeware/lib/libiconv.a(libiconv.so.2) Cordialement, Tony Reix Bull - ATOS IBM Coop Architect & Technical Leader Office : +33 (0) 4 76 29 72 67 1 rue de Provence - 38432 =C9chirolles - France www.atos.net ________________________________________ De : David Edelsohn [dje.gcc@gmail.com] Envoy=E9 : mardi 16 mai 2017 17:11 =C0 : REIX, Tony Cc : GCC Patches; SARTER, MATTHIEU (ext) Objet : Re: [PATCH,AIX] Enable FFI Go Closure on AIX On Tue, May 16, 2017 at 10:44 AM, REIX, Tony wrote: > Hi David, > > We'll submit the patch to the libffi project asap. > > We have tested this patch on AIX 6.1 with libffi (master from github) in = 32bit and 64bit with same results (same exact failures) when testing with a= nd without our patch, using libffi testsuite. > > Without patch: > =3D=3D=3D libffi Summary =3D=3D=3D 64bit & 32bit > # of expected passes 1870 > # of unexpected failures 38 > # of unresolved testcases 2 > # of unsupported tests 30 > > With patch: > =3D=3D=3D libffi Summary =3D=3D=3D 64bit & 32bit > # of expected passes 1890 > # of unexpected failures 38 > # of unresolved testcases 2 > # of unsupported tests 28 > > We'll test with Python asap, probably this week. Libffi project now is on Github https://github.com/libffi/libffi I think that Anthony now uses pull requests. Once the patches are in the upstream project, we can backport them to GCC. Thanks, David