NetBSD Problem Report #36934
From yx@fxp0.darg.x.ua Thu Sep 6 11:14:06 2007
Return-Path: <yx@fxp0.darg.x.ua>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id B526B63B8A2
for <gnats-bugs@gnats.NetBSD.org>; Thu, 6 Sep 2007 11:14:06 +0000 (UTC)
Message-Id: <200709061114.l86BE2sQ009080@darg.x.ua>
Date: Thu, 6 Sep 2007 14:14:02 +0300 (EEST)
From: Yakovetsky Vladimir <yx@x.ua>
Reply-To: yx@x.ua
To: gnats-bugs@NetBSD.org
Subject: math/p5-Math-Pari fails to build on netbsd-i386
X-Send-Pr-Version: 3.95
>Number: 36934
>Category: pkg
>Synopsis: math/p5-Math-Pari: fails to build on netbsd-i386
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: obache
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 06 11:15:00 +0000 2007
>Closed-Date: Sun Oct 14 08:09:17 +0000 2007
>Last-Modified: Mon Dec 17 21:50:01 +0000 2007
>Originator: Yakovetsky Vladimir
>Release: NetBSD 4.0_RC1
>Organization:
>Environment:
System: NetBSD darg.x.ua 4.0_RC1 NetBSD 4.0_RC1 (darg-1.799.2.13-mp-1.8.8.1) #2: Tue Sep 4 16:39:17 EEST 2007 yx@darg.x.ua:/sys/arch/i386/compile/darg.mp i386
Architecture: i386
Machine: i386
>Description:
math/p5-Math-Pari fails to build on netbsd-i386
>How-To-Repeat:
% cd /usr/pkgsrc/math/p5-Math-Pari
% make
...
cpp -I. -I../../pari-2.1.6/src/headers -I../../pari-2.1.6/src/graph -I. -I../../pari-2.1.6/src/kernel/ix86/ -Derr=pari_err -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING ../../pari-2.1.6/src/kernel/ix86/l0asm.c | perl -ne "s/%\s+/%/g; print unless /^\s*#/" > kernel1.s
cc -c -I../../pari-2.1.6/src/headers -I../../pari-2.1.6/src/graph -I. -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/pkg/include -O2 -mfpmath=sse -msse -march=pentium3 -finline-functions -fomit-frame-pointer -ffast-math -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC -o kernel.o kernel1.s
kernel1.s: Assembler messages:
kernel1.s:18: Error: alignment not a power of 2
kernel1.s:28: Error: alignment not a power of 2
kernel1.s:40: Error: alignment not a power of 2
kernel1.s:50: Error: alignment not a power of 2
kernel1.s:62: Error: alignment not a power of 2
kernel1.s:74: Error: alignment not a power of 2
kernel1.s:86: Error: alignment not a power of 2
kernel1.s:95: Error: alignment not a power of 2
kernel1.s:103: Error: alignment not a power of 2
kernel1.s:114: Error: alignment not a power of 2
kernel1.s:123: Error: alignment not a power of 2
*** Error code 1
Stop.
make: stopped in /usr/obj/math/p5-Math-Pari/work/Math-Pari-2.010703/libPARI
>Fix:
:r /usr/pkgsrc/math/p5-Math-Pari/patches/patch-ac
--- ../pari-2.1.6/src/kernel/ix86/l0asm.c.orig
+++ ../pari-2.1.6/src/kernel/ix86/l0asm.c
@@ -36,7 +36,7 @@
global variable `hiremainder'. */
/* This should ideally be determined at configure time. */
-#if defined(__EMX__) || defined(__DJGCC__) || defined(__GO32__) || (defined(linux) && !defined(__ELF__)) || defined(__386BSD__) || defined(__NetBSD__) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(NeXT) || defined(__CYGWIN32__) || defined(__MINGW32__)
+#if defined(__EMX__) || defined(__DJGCC__) || defined(__GO32__) || (defined(linux) && !defined(__ELF__)) || defined(__386BSD__) || (defined(__NetBSD__) && !defined(__ELF__)) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(NeXT) || defined(__CYGWIN32__) || defined(__MINGW32__)
# define ASM_UNDERSCORE
#endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Sun, 14 Oct 2007 07:41:00 +0000
Responsible-Changed-Why:
I'll handle this.
State-Changed-From-To: open->closed
State-Changed-By: obache@netbsd.org
State-Changed-When: Sun, 14 Oct 2007 08:09:17 +0000
State-Changed-Why:
Patch added. Thanks!
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36934 CVS commit: pkgsrc/math/p5-Math-Pari
Date: Sun, 14 Oct 2007 08:08:53 +0000 (UTC)
Module Name: pkgsrc
Committed By: obache
Date: Sun Oct 14 08:08:53 UTC 2007
Modified Files:
pkgsrc/math/p5-Math-Pari: distinfo
Added Files:
pkgsrc/math/p5-Math-Pari/patches: patch-ac
Log Message:
Fix build problem on NetBSD/i386.
Patch provided by Yakovetsky Vladimir in PR 36934,
same as math/pari/patches/patch-ac.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/math/p5-Math-Pari/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/math/p5-Math-Pari/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36934 CVS commit: [pkgsrc-2007Q3] pkgsrc/math/p5-Math-Pari
Date: Mon, 17 Dec 2007 21:49:20 +0000 (UTC)
Module Name: pkgsrc
Committed By: ghen
Date: Mon Dec 17 21:49:20 UTC 2007
Modified Files:
pkgsrc/math/p5-Math-Pari [pkgsrc-2007Q3]: distinfo
Added Files:
pkgsrc/math/p5-Math-Pari/patches [pkgsrc-2007Q3]: patch-ac
Log Message:
Pullup ticket 2212 - requested by hira
build fix for p5-Math-Pari
- pkgsrc/math/p5-Math-Pari/distinfo 1.9
- pkgsrc/math/p5-Math-Pari/patches/patch-ac 1.1
Module Name: pkgsrc
Committed By: obache
Date: Sun Oct 14 08:08:53 UTC 2007
Modified Files:
pkgsrc/math/p5-Math-Pari: distinfo
Added Files:
pkgsrc/math/p5-Math-Pari/patches: patch-ac
Log Message:
Fix build problem on NetBSD/i386.
Patch provided by Yakovetsky Vladimir in PR 36934,
same as math/pari/patches/patch-ac.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.8.4.1 pkgsrc/math/p5-Math-Pari/distinfo
cvs rdiff -r0 -r1.1.2.2 pkgsrc/math/p5-Math-Pari/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.