pkgsrc-Bugs archive

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

pkg/36934: math/p5-Math-Pari fails to build on netbsd-i386



>Number:         36934
>Category:       pkg
>Synopsis:       math/p5-Math-Pari: fails to build on netbsd-i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 06 11:15:00 +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@localhost:/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
 




Home | Main Index | Thread Index | Old Index