pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50242: security/libgcrypt fails to build on Solaris 11



The following reply was made to PR pkg/50242; it has been noted by GNATS.

From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Thomas Klausner <wiz%NetBSD.org@localhost>, pkg-manager%NetBSD.org@localhost,
 gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/50242: security/libgcrypt fails to build on Solaris 11
Date: Mon, 14 Sep 2015 15:17:50 +0200

 >   Can you try applying patch-configure from pkgsrc-2015Q2 (especially
 >   the last chunk) and see if it helps?
 
 This part of patch-configure is indeed sufficient to make the package 
 compile for me again:
 
 --- configure.orig      2015-09-08 06:32:13.000000000 +0000
 +++ configure
 @@ -16519,6 +16570,11 @@ __asm__(
                  "asmfunc:\n\t"
                   ".size asmfunc,.-asmfunc;\n\t"
                   ".type asmfunc,@function;\n\t"
 +                /* Test if assembler allows use of '/' for constant 
 division
 +                 * (Solaris/x86 issue). If previous constant division check
 +                 * and "-Wa,--divide" workaround failed, this causes 
 assembly
 +                 * to be disable on this machine. */
 +                 "xorl \$(123456789/12345678), %ebp;\n\t"
               );
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
 
 
 > And if yes, please file an
 >   upstream bug report.
 
 Will do...
 
 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 Hochschulrechenzentrum
 
 Universität Bielefeld
 Universitätsstraße 25
 33615 Bielefeld
 Telefon: +49 521 106-12601
 E-Mail: joern.clausen%uni-bielefeld.de@localhost
 
 http://www.uni-bielefeld.de/hrz
 


Home | Main Index | Thread Index | Old Index