bug-gmp
[Top][All Lists]
Advanced

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

Compilation crashes on NetBSD 1.5


From: fis
Subject: Compilation crashes on NetBSD 1.5
Date: Wed, 4 Apr 2001 18:26:46 +0300


  Dear gmp-team,


I need to compile gmp-2.0.2 on NetBSD 1.5 (long story, no point in
argueing about that).  The `./configure && gmake' trick does not do it
because:

======================================================================
[...]
gcc -O2 -E -DBROKEN_ALIGN -I. -I.. -I. -I./.. -g -O add_n.S | grep -v '^#' 
>tmp-add_n.s
gcc -O2 -c tmp-add_n.s -o add_n.o
tmp-add_n.s: Assembler messages:
tmp-add_n.s:94: Error: Alignment not a power of 2
tmp-add_n.s:121: Error: Alignment not a power of 2
gmake[1]: *** [add_n.o] Error 1
======================================================================

Targets `i386-unknown-netbsd' and `i386-unknown-netbsd1.5' are equally
bad; `--target=i386' generates a library but appearently for some
other platform (lots of linker errors during `gmake check').  This is
my machine (I could neither find files called config.log nor
config.m4, sorry):

======================================================================
(/tmp/gmp-2.0.2) $ uname -a
NetBSD 1.5 #0: Tue Jan  2 23:32:28 EET 2001 i386
(/tmp/gmp-2.0.2) $ gcc -v
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
(/tmp/gmp-2.0.2) $ head -n 1 ChangeLog
Thu Jun  6 19:00:53 1996  Torbjorn Granlund  <address@hidden>
======================================================================

I would be perfectly content with a hint how I can switch off all
assembler code and go with the slow generic C implementation.


Thanks for any help,
 yours,
  matthias



-- 
Matthias Fischmann | Research Engineer               | +358 (9) 8565 7474
address@hidden         | SSH Communication Security Corp | +358 (40) 752 5291



reply via email to

[Prev in Thread] Current Thread [Next in Thread]