From unknown Tue Jun 24 14:00:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23133: gzip-1.7: Segmentation Fault with solarisstudio12.4 on Solaris10 x64 Resent-From: Kiyoshi KANAZAWA Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Mon, 28 Mar 2016 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23133 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: To: 23133@debbugs.gnu.org X-Debbugs-Original-To: "bug-gzip@gnu.org" Reply-To: Kiyoshi KANAZAWA Received: via spool by submit@debbugs.gnu.org id=B.145915842225618 (code B ref -1); Mon, 28 Mar 2016 09:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2016 09:47:02 +0000 Received: from localhost ([127.0.0.1]:40792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akTlG-0006ey-8e for submit@debbugs.gnu.org; Mon, 28 Mar 2016 05:47:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akTlC-0006eY-NS for submit@debbugs.gnu.org; Mon, 28 Mar 2016 05:47:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akTl6-000668-A8 for submit@debbugs.gnu.org; Mon, 28 Mar 2016 05:46:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akTl6-000664-6k for submit@debbugs.gnu.org; Mon, 28 Mar 2016 05:46:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akTl5-0006Hm-5w for bug-gzip@gnu.org; Mon, 28 Mar 2016 05:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akTl1-000643-4x for bug-gzip@gnu.org; Mon, 28 Mar 2016 05:46:51 -0400 Received: from web101205.mail.kks.yahoo.co.jp ([183.79.100.209]:48767) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1akTl0-00062d-Iq for bug-gzip@gnu.org; Mon, 28 Mar 2016 05:46:47 -0400 Received: (qmail 3427 invoked by uid 60001); 28 Mar 2016 09:46:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1459158398; bh=up0obQd67BKnTIi1/A0F53kg0NUQm0j11IwkrOkEYjE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PZQlQElf1o1p1pxDKWpYRtYEWVwa0egX0KfIq/PeEa6WQqT9BvTXfyoP402OXHHTlErxjjrawsXaz64OCVtDIcFwQsDxUmXqcKrsW7+XkW37tokUN/grsEbclNEmN89RGe5BA5J7PVmRL1bVu0XXxGxEii0yZ5VVK0pPogcit7M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GxXp/OAjT0dZJM90qTiZoLiQ0WF/jaYDqzOKV9UnDgS9UolU+JBkihKAJl0J9CB7CcoV2eRI1AZMWP+9zQx07oyiss1RP0Uy+hbOL6avJ90doV0hWhG1+v/qg6vGMsN/QyMabNXD7VEnf5RJbsstSANZL8pCsl4e8kpu+wba3/0=; Message-ID: <368408.97856.qm@web101205.mail.kks.yahoo.co.jp> X-YMail-OSG: .vyNJboVM1kYN.ihQxlyE_jrJIHBrJ3Fo5pqupCQJWtYfLnNcO44xN20XzqcbJ03tjVzyTqhLswKR1WNIGWNMry8IkwldblfaDIwwafFx1qCJHFw4FWsJKPku2MDgcSiFOMqhdwFhyvAHHevKxDt0qGIP2B4pHx2KGopeoA4haiiAxC3yeJ7yAdJZAVgBSSx6TTlCR8s2EHlOhkpk8w4VuYYIBX7lXbSjoSB6B8ulIzlWs_ktfUG2qAd6rS8lqwFPVOKo5fdTkUDr6kWPmyn2i0t1UjA0zZCwUpgscoOqrCmrfPUsbF3LQp1kPeYYwRFUfzi_6O0IUqOYjv2s4fOTPP2XcVtwRy9SbEf3uX_jRYWrtLg_CsgZjElf32T0w2ss.AROMO1_GdKXbUY8xKzOq4fxZAv5l_szXsL64pJ9YYOip_FwwzYX1FBzo3XEHSCFWg4iYCu4nKdk.NRq_Dxfr4ddN0tM50w3TfhV1QPNWlJ3_Xp5S6mfEx5oDwbyKkQbX0.P_mo8Am0Q3BKy7.LOiiVNvyoHPNlbSYaczURx6n8aXJuRTT8VgR_Fo6xWMCPYFmlF2MaoCKsaUzxG14ejcLrTix2a4pmSJFjRKr3_mA- Received: from [219.122.165.53] by web101205.mail.kks.yahoo.co.jp via HTTP; Mon, 28 Mar 2016 18:46:37 JST X-Mailer: YahooMailWebService/0.8.111_68 X-YMail-JAS: eV1ww84VM1moYK8l2RfQLpnU3m.h5CbXChHh3GE4.JO3H4zYZh0xostxbImQv2.6sLKXAdYj1CUxXJ806kWOCT3CeOVRAZi1uB_7zY.yL8M_tqE6oWHXuwDRmZpkf2UthDjn Date: Mon, 28 Mar 2016 18:46:37 +0900 (JST) From: Kiyoshi KANAZAWA MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello,=0A=0AI tried to build gzip-1.7 with solarisstudio12.4 cc, on Solaris= 10 x64,=0A=0Aand had 'Segmentation Fault' in make check.=0A=0A% ./configure= CC=3Dcc CFLAGS=3D'-m64 -g'=0A% make=0A% make check=0A=A0 GEN=A0=A0=A0=A0= =A0 public-submodule-commit=0Amake=A0 check-recursive=0Amake[1]: Entering d= irectory '/tmp/gzip-1.7'=0AMaking check in lib=0Amake[2]: Entering director= y '/tmp/gzip-1.7/lib'=0Amake=A0 check-am=0Amake[3]: Entering directory '/tm= p/gzip-1.7/lib'=0Amake[3]: Leaving directory '/tmp/gzip-1.7/lib'=0Amake[2]:= Leaving directory '/tmp/gzip-1.7/lib'=0AMaking check in doc=0Amake[2]: Ent= ering directory '/tmp/gzip-1.7/doc'=0Amake[2]: Nothing to be done for 'chec= k'.=0Amake[2]: Leaving directory '/tmp/gzip-1.7/doc'=0AMaking check in .=0A= make[2]: Entering directory '/tmp/gzip-1.7'=0Amake=A0 check-local=0Amake[3]= : Entering directory '/tmp/gzip-1.7'=0A=A0 GEN=A0=A0=A0=A0=A0 gzip.doc.gz= =0A/bin/bash: line 1: 22685 Segmentation Fault=A0=A0=A0=A0=A0 (core dumped)= ./gzip < ./gzip.doc > gzip.doc.gz-t=0AMakefile:2173: recipe for target 'gz= ip.doc.gz' failed=0Amake[3]: *** [gzip.doc.gz] Error 139=0Amake[3]: Leaving= directory '/tmp/gzip-1.7'=0AMakefile:1985: recipe for target 'check-am' fa= iled=0Amake[2]: *** [check-am] Error 2=0Amake[2]: Leaving directory '/tmp/g= zip-1.7'=0AMakefile:1712: recipe for target 'check-recursive' failed=0Amake= [1]: *** [check-recursive] Error 1=0Amake[1]: Leaving directory '/tmp/gzip-= 1.7'=0AMakefile:1987: recipe for target 'check' failed=0Amake: *** [check] = Error 2=0A=0A% dbx gzip core=0AFor information about new features see `help= changes'=0ATo remove this message, put `dbxenv suppress_startup_message 8.= 0' in your .dbxrc=0AReading gzip=0Acore file header read successfully=0ARea= ding ld.so.1=0AReading librt.so.1=0AReading libc.so.1=0AReading libaio.so.1= =0AReading libmd.so.1=0Aprogram terminated by signal SEGV (no mapping at th= e fault address)=0A0x0000000000428885: ldexp+0x1eb8d:=A0=A0=A0=A0=A0 movl= =A0=A0=A0=A0 0x0000000000000014(%esp),%esi=0ACurrent function is deflate=0A= =A0 764=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 match_length =3D longest_= match (hash_head);=0A(dbx) where=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A=A0 [1] 0x428885(0x6= , 0x31, 0x7, 0x2529, 0xfefa, 0x7), at 0x428885 =0A=3D>[2] deflate(), line 7= 64 in "deflate.c"=0A=A0 [3] zip(in =3D 0, out =3D 1), line 80 in "zip.c"=0A= =A0 [4] treat_stdin(), line 775 in "gzip.c"=0A=A0 [5] main(argc =3D 1, argv= =3D 0xfffffd7fffdfe4d8), line 665 in "gzip.c"=0A=0AAfter gzip dies, gzip.d= oc.gz-t is null (size is 0).=0A=0A=0ABest Regards,=0A=0A--- Kiyoshi From unknown Tue Jun 24 14:00:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Kiyoshi KANAZAWA Subject: bug#23133: closed (Re: bug#23133: gzip-1.7: Segmentation Fault with solarisstudio12.4 on Solaris10 x64) Message-ID: References: <56F9BFD8.8010503@cs.ucla.edu> <368408.97856.qm@web101205.mail.kks.yahoo.co.jp> X-Gnu-PR-Message: they-closed 23133 X-Gnu-PR-Package: gzip Reply-To: 23133@debbugs.gnu.org Date: Mon, 28 Mar 2016 23:37:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1459208221-628-1" This is a multi-part message in MIME format... ------------=_1459208221-628-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23133: gzip-1.7: Segmentation Fault with solarisstudio12.4 on Solaris10 x64 which was filed against the gzip package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23133@debbugs.gnu.org. --=20 23133: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23133 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1459208221-628-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23133-done) by debbugs.gnu.org; 28 Mar 2016 23:36:02 +0000 Received: from localhost ([127.0.0.1]:42600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akghW-00008d-Hn for submit@debbugs.gnu.org; Mon, 28 Mar 2016 19:36:02 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akghU-00007w-AS for 23133-done@debbugs.gnu.org; Mon, 28 Mar 2016 19:36:01 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7BDBB1601EC; Mon, 28 Mar 2016 16:35:54 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9nVH8rO6kM-h; Mon, 28 Mar 2016 16:35:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 98D3D160843; Mon, 28 Mar 2016 16:35:52 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PmnS0gmdpeSw; Mon, 28 Mar 2016 16:35:52 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7D4EF1601EC; Mon, 28 Mar 2016 16:35:52 -0700 (PDT) Subject: Re: bug#23133: gzip-1.7: Segmentation Fault with solarisstudio12.4 on Solaris10 x64 To: Kiyoshi KANAZAWA References: <368408.97856.qm@web101205.mail.kks.yahoo.co.jp> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <56F9BFD8.8010503@cs.ucla.edu> Date: Mon, 28 Mar 2016 16:35:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <368408.97856.qm@web101205.mail.kks.yahoo.co.jp> Content-Type: multipart/mixed; boundary="------------090205020502060801020407" X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 23133-done Cc: 23133-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------090205020502060801020407 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 03/28/2016 02:46 AM, Kiyoshi KANAZAWA wrote: > I tried to build gzip-1.7 with solarisstudio12.4 cc, on Solaris10 x64, > > and had 'Segmentation Fault' in make check. > > % ./configure CC=cc CFLAGS='-m64 -g' Thanks for reporting that. This exposed some bugs in configure.ac and lib/match.c: the configuration procedure assumes that, since cc assembles x86 instructions successfully, the x86 code will actually work when called from x86-64 code. I fixed this by installing the attached patch. Also, since -m64 affects the preprocessor output, you need to set CPPFLAGS and/or put the -m64 into CC instead. Something like the following should work with gzip 1.7: ./configure CC='cc -m64' CFLAGS='-g' DEFS='-D NO_ASM' (A space is required between '-D' and 'NO_ASM'.) With the patch, plain './configure CC="cc -m64" CFLAGS=-g' should also work. --------------090205020502060801020407 Content-Type: application/x-patch; name="0001-Port-to-Oracle-Solaris-Studio-12.4.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Port-to-Oracle-Solaris-Studio-12.4.patch" RnJvbSBhOGU1ZWI2YzQ2NGM3ZGE5YjA1ZTgyNDZkNWFhMmQ2NmVkZDM5Y2M5IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBNb24sIDI4IE1hciAyMDE2IDE2OjI2OjQ1IC0wNzAwClN1YmplY3Q6IFtQQVRD SF0gUG9ydCB0byBPcmFjbGUgU29sYXJpcyBTdHVkaW8gMTIuNAoKUHJvYmxlbSByZXBvcnRl ZCBieSBLaXlvc2hpIEtBTkFaQVdBIGluOiBodHRwOi8vYnVncy5nbnUub3JnLzIzMTMzCiog TkVXUzogRG9jdW1lbnQgdGhpcy4KKiBjb25maWd1cmUuYWMgKEFTTVYpOiBEbyBub3QgZGVm aW5lIGlmIE5PX0FTTSBpcwphbnl3aGVyZSBpbiBERUZTOyBpdCBkb2Vzbid0IG5lZWQgdG8g YmUgc3Vycm91bmRlZCBieSB3aGl0ZSBzcGFjZS4KKiBsaWIvbWF0Y2guYzogRG8gbm90IHVz ZSB4ODYgdmVyc2lvbiBpZiBfX3g4N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ODZfXykgXAorICAgICAmJiAhZGVmaW5lZCBf X3g4Nl82NF9fKQogCiAvKiBUaGlzIHZlcnNpb24gaXMgZm9yIDM4NiBVbml4IG9yIE9TLzIg aW4gMzIgYml0IG1vZGUuCiAgKiBXYXJuaW5nOiBpdCB1c2VzIHRoZSBBVCZUIHN5bnRheDog bW92IHNvdXJjZSxkZXN0Ci0tIAoyLjUuNQoK --------------090205020502060801020407-- ------------=_1459208221-628-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Mar 2016 09:47:02 +0000 Received: from localhost ([127.0.0.1]:40792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akTlG-0006ey-8e for submit@debbugs.gnu.org; Mon, 28 Mar 2016 05:47:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akTlC-0006eY-NS for submit@debbugs.gnu.org; Mon, 28 Mar 2016 05:47:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akTl6-000668-A8 for submit@debbugs.gnu.org; Mon, 28 Mar 2016 05:46:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akTl6-000664-6k for submit@debbugs.gnu.org; Mon, 28 Mar 2016 05:46:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akTl5-0006Hm-5w for bug-gzip@gnu.org; Mon, 28 Mar 2016 05:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akTl1-000643-4x for bug-gzip@gnu.org; Mon, 28 Mar 2016 05:46:51 -0400 Received: from web101205.mail.kks.yahoo.co.jp ([183.79.100.209]:48767) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1akTl0-00062d-Iq for bug-gzip@gnu.org; Mon, 28 Mar 2016 05:46:47 -0400 Received: (qmail 3427 invoked by uid 60001); 28 Mar 2016 09:46:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1459158398; bh=up0obQd67BKnTIi1/A0F53kg0NUQm0j11IwkrOkEYjE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PZQlQElf1o1p1pxDKWpYRtYEWVwa0egX0KfIq/PeEa6WQqT9BvTXfyoP402OXHHTlErxjjrawsXaz64OCVtDIcFwQsDxUmXqcKrsW7+XkW37tokUN/grsEbclNEmN89RGe5BA5J7PVmRL1bVu0XXxGxEii0yZ5VVK0pPogcit7M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GxXp/OAjT0dZJM90qTiZoLiQ0WF/jaYDqzOKV9UnDgS9UolU+JBkihKAJl0J9CB7CcoV2eRI1AZMWP+9zQx07oyiss1RP0Uy+hbOL6avJ90doV0hWhG1+v/qg6vGMsN/QyMabNXD7VEnf5RJbsstSANZL8pCsl4e8kpu+wba3/0=; Message-ID: <368408.97856.qm@web101205.mail.kks.yahoo.co.jp> X-YMail-OSG: .vyNJboVM1kYN.ihQxlyE_jrJIHBrJ3Fo5pqupCQJWtYfLnNcO44xN20XzqcbJ03tjVzyTqhLswKR1WNIGWNMry8IkwldblfaDIwwafFx1qCJHFw4FWsJKPku2MDgcSiFOMqhdwFhyvAHHevKxDt0qGIP2B4pHx2KGopeoA4haiiAxC3yeJ7yAdJZAVgBSSx6TTlCR8s2EHlOhkpk8w4VuYYIBX7lXbSjoSB6B8ulIzlWs_ktfUG2qAd6rS8lqwFPVOKo5fdTkUDr6kWPmyn2i0t1UjA0zZCwUpgscoOqrCmrfPUsbF3LQp1kPeYYwRFUfzi_6O0IUqOYjv2s4fOTPP2XcVtwRy9SbEf3uX_jRYWrtLg_CsgZjElf32T0w2ss.AROMO1_GdKXbUY8xKzOq4fxZAv5l_szXsL64pJ9YYOip_FwwzYX1FBzo3XEHSCFWg4iYCu4nKdk.NRq_Dxfr4ddN0tM50w3TfhV1QPNWlJ3_Xp5S6mfEx5oDwbyKkQbX0.P_mo8Am0Q3BKy7.LOiiVNvyoHPNlbSYaczURx6n8aXJuRTT8VgR_Fo6xWMCPYFmlF2MaoCKsaUzxG14ejcLrTix2a4pmSJFjRKr3_mA- Received: from [219.122.165.53] by web101205.mail.kks.yahoo.co.jp via HTTP; Mon, 28 Mar 2016 18:46:37 JST X-Mailer: YahooMailWebService/0.8.111_68 X-YMail-JAS: eV1ww84VM1moYK8l2RfQLpnU3m.h5CbXChHh3GE4.JO3H4zYZh0xostxbImQv2.6sLKXAdYj1CUxXJ806kWOCT3CeOVRAZi1uB_7zY.yL8M_tqE6oWHXuwDRmZpkf2UthDjn Date: Mon, 28 Mar 2016 18:46:37 +0900 (JST) From: Kiyoshi KANAZAWA Subject: gzip-1.7: Segmentation Fault with solarisstudio12.4 on Solaris10 x64 To: "bug-gzip@gnu.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Kiyoshi KANAZAWA Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello,=0A=0AI tried to build gzip-1.7 with solarisstudio12.4 cc, on Solaris= 10 x64,=0A=0Aand had 'Segmentation Fault' in make check.=0A=0A% ./configure= CC=3Dcc CFLAGS=3D'-m64 -g'=0A% make=0A% make check=0A=A0 GEN=A0=A0=A0=A0= =A0 public-submodule-commit=0Amake=A0 check-recursive=0Amake[1]: Entering d= irectory '/tmp/gzip-1.7'=0AMaking check in lib=0Amake[2]: Entering director= y '/tmp/gzip-1.7/lib'=0Amake=A0 check-am=0Amake[3]: Entering directory '/tm= p/gzip-1.7/lib'=0Amake[3]: Leaving directory '/tmp/gzip-1.7/lib'=0Amake[2]:= Leaving directory '/tmp/gzip-1.7/lib'=0AMaking check in doc=0Amake[2]: Ent= ering directory '/tmp/gzip-1.7/doc'=0Amake[2]: Nothing to be done for 'chec= k'.=0Amake[2]: Leaving directory '/tmp/gzip-1.7/doc'=0AMaking check in .=0A= make[2]: Entering directory '/tmp/gzip-1.7'=0Amake=A0 check-local=0Amake[3]= : Entering directory '/tmp/gzip-1.7'=0A=A0 GEN=A0=A0=A0=A0=A0 gzip.doc.gz= =0A/bin/bash: line 1: 22685 Segmentation Fault=A0=A0=A0=A0=A0 (core dumped)= ./gzip < ./gzip.doc > gzip.doc.gz-t=0AMakefile:2173: recipe for target 'gz= ip.doc.gz' failed=0Amake[3]: *** [gzip.doc.gz] Error 139=0Amake[3]: Leaving= directory '/tmp/gzip-1.7'=0AMakefile:1985: recipe for target 'check-am' fa= iled=0Amake[2]: *** [check-am] Error 2=0Amake[2]: Leaving directory '/tmp/g= zip-1.7'=0AMakefile:1712: recipe for target 'check-recursive' failed=0Amake= [1]: *** [check-recursive] Error 1=0Amake[1]: Leaving directory '/tmp/gzip-= 1.7'=0AMakefile:1987: recipe for target 'check' failed=0Amake: *** [check] = Error 2=0A=0A% dbx gzip core=0AFor information about new features see `help= changes'=0ATo remove this message, put `dbxenv suppress_startup_message 8.= 0' in your .dbxrc=0AReading gzip=0Acore file header read successfully=0ARea= ding ld.so.1=0AReading librt.so.1=0AReading libc.so.1=0AReading libaio.so.1= =0AReading libmd.so.1=0Aprogram terminated by signal SEGV (no mapping at th= e fault address)=0A0x0000000000428885: ldexp+0x1eb8d:=A0=A0=A0=A0=A0 movl= =A0=A0=A0=A0 0x0000000000000014(%esp),%esi=0ACurrent function is deflate=0A= =A0 764=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 match_length =3D longest_= match (hash_head);=0A(dbx) where=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0A=A0 [1] 0x428885(0x6= , 0x31, 0x7, 0x2529, 0xfefa, 0x7), at 0x428885 =0A=3D>[2] deflate(), line 7= 64 in "deflate.c"=0A=A0 [3] zip(in =3D 0, out =3D 1), line 80 in "zip.c"=0A= =A0 [4] treat_stdin(), line 775 in "gzip.c"=0A=A0 [5] main(argc =3D 1, argv= =3D 0xfffffd7fffdfe4d8), line 665 in "gzip.c"=0A=0AAfter gzip dies, gzip.d= oc.gz-t is null (size is 0).=0A=0A=0ABest Regards,=0A=0A--- Kiyoshi ------------=_1459208221-628-1-- From unknown Tue Jun 24 14:00:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23133: gzip-1.7: Segmentation Fault with solarisstudio12.4 on Solaris10 x64 Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Tue, 29 Mar 2016 02:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23133 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: To: Kiyoshi KANAZAWA Cc: 23133@debbugs.gnu.org Received: via spool by 23133-submit@debbugs.gnu.org id=B23133.145921939717555 (code B ref 23133); Tue, 29 Mar 2016 02:44:01 +0000 Received: (at 23133) by debbugs.gnu.org; 29 Mar 2016 02:43:17 +0000 Received: from localhost ([127.0.0.1]:42639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akjci-0004Z5-S2 for submit@debbugs.gnu.org; Mon, 28 Mar 2016 22:43:16 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:55865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akjch-0004Yr-56 for 23133@debbugs.gnu.org; Mon, 28 Mar 2016 22:43:15 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 150921601EC; Mon, 28 Mar 2016 19:43:09 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id i1axmAQgm_xv; Mon, 28 Mar 2016 19:43:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3AB8F160843; Mon, 28 Mar 2016 19:43:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bHgS74J0YHbV; Mon, 28 Mar 2016 19:43:07 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 1D3AD1601EC; Mon, 28 Mar 2016 19:43:07 -0700 (PDT) References: <368408.97856.qm@web101205.mail.kks.yahoo.co.jp> <56F9BFD8.8010503@cs.ucla.edu> <59656.7915.qm@web101207.mail.kks.yahoo.co.jp> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <56F9EBB6.9040804@cs.ucla.edu> Date: Mon, 28 Mar 2016 19:43:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <59656.7915.qm@web101207.mail.kks.yahoo.co.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Kiyoshi KANAZAWA wrote: > I confirmed your patch fixed the problem. > > But, I had to change am__api_version in configure, such as > 3509c3509 > < am__api_version='1.99a' > --- >> >am__api_version='1.15' > > I know it is not good to do that, but the latest release automake version is 1.15. Yes, gzip was built with a prerelease version of the next Automake, which is a bit of a pain. Your workaround should be OK. > It seems that "DEFS='-D NO_ASM'" is not needed. > % ./configure CC='cc -m64' CFLAGS='-g' > % make > % make check > also passed. Yes, that's right, with the patch installed you don't need '-D NO_ASM'. '-D NO_ASM' is helpful only with gzip 1.7 and earlier. From unknown Tue Jun 24 14:00:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23133: gzip-1.7: Segmentation Fault with solarisstudio12.4 on Solaris10 x64 Resent-From: Jim Meyering Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Tue, 29 Mar 2016 05:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23133 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: To: Paul Eggert Cc: Kiyoshi KANAZAWA , 23133@debbugs.gnu.org Received: via spool by 23133-submit@debbugs.gnu.org id=B23133.145922763730400 (code B ref 23133); Tue, 29 Mar 2016 05:01:02 +0000 Received: (at 23133) by debbugs.gnu.org; 29 Mar 2016 05:00:37 +0000 Received: from localhost ([127.0.0.1]:42714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aklld-0007uG-5b for submit@debbugs.gnu.org; Tue, 29 Mar 2016 01:00:37 -0400 Received: from mail-oi0-f45.google.com ([209.85.218.45]:34434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aklla-0007u3-KC for 23133@debbugs.gnu.org; Tue, 29 Mar 2016 01:00:35 -0400 Received: by mail-oi0-f45.google.com with SMTP id o62so6860250oig.1 for <23133@debbugs.gnu.org>; Mon, 28 Mar 2016 22:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=qFHX8KwgqgEOdTqPR0AJ9bWfFb5j//DNyTZCK1Yu4gg=; b=xqf3UAqvIrzIK9hnSomyaYwzKfNGGZ7reJyXMiJpkeJ/cia4tY1wyFqV+eIaoGCWNx kD1B6KkTB2yIGAYuvYoEzG38qGV9Np64cofVdHS+23DTmkpYLAN5EwNedVcrS4y83Lxg qSeaPz0lF88amJGKvhBBJle+TU9X2BgpWeACfS4Jzei/lAONRKkRdml7WwmHiE3Ree2b zeEViTzNomV3D/mS1mtXrFIw77skN0pfUaGNpSeuqRsNRtrGgATA4mSjppghfwg+SFc8 /a/JCsscZc+BcYHqrPswNhg+Zz14Ttm2IyYIQxlkjicw8FD1KO6RO4JVIJnwyi8/tsPr /4xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=qFHX8KwgqgEOdTqPR0AJ9bWfFb5j//DNyTZCK1Yu4gg=; b=kV/8LTsDS8Yq/pEtTKrbH1g23mWnA6B4NnPc4H4DcQXBrL8bF8+VN/xHfiZgycGZx2 ibFNeg03uNnL27zy1TXWprmib9Qx533FSvguys/V5AZeuqwiG7EFxM5OP7kJOCnnb3iK 2/6XKptIuGon+snyu6hFP9WhCBDJyQvBSggzhRBkgzIQ72bhvUlnirahk+LNw+MizWv1 CFOF4RdLec/ZDjI6cIw62pggbhh0rkTNAp+aASLmmCP5aSVZ5krMHLis24IHmsXr8hoJ PYJAEs2dEs351/gwsI3pxl2ZXwsRmickyCexmMO1157t42il58hjGUxsQSW5jeorApGL xWFA== X-Gm-Message-State: AD7BkJK62jrRUnsM3Fnl9SH+syLzhXKlEIYqB2MV/f0srlpxnrAY6m7vpiKemyIkcyy9lXkcYpSG0sHCQJqGPA== X-Received: by 10.157.54.11 with SMTP id w11mr77486otb.103.1459227628881; Mon, 28 Mar 2016 22:00:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.213.141 with HTTP; Mon, 28 Mar 2016 22:00:09 -0700 (PDT) In-Reply-To: <56F9EBB6.9040804@cs.ucla.edu> References: <368408.97856.qm@web101205.mail.kks.yahoo.co.jp> <56F9BFD8.8010503@cs.ucla.edu> <59656.7915.qm@web101207.mail.kks.yahoo.co.jp> <56F9EBB6.9040804@cs.ucla.edu> From: Jim Meyering Date: Mon, 28 Mar 2016 22:00:09 -0700 X-Google-Sender-Auth: Csj9lb1wK7gj_aaJWqm5T6QkLBs Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On Mon, Mar 28, 2016 at 7:43 PM, Paul Eggert wrote: > Kiyoshi KANAZAWA wrote: > >> I confirmed your patch fixed the problem. Thank you both for the report and the patch.