Subject: Re: Math library development stopped
To: Mark Brinicombe <amb@physig4.ph.kcl.ac.uk>
From: Ale Terlevich <A.I.Terlevich@durham.ac.uk>
List: port-arm32
Date: 12/02/1996 14:36:26
On Mon, 2 Dec 1996, Mark Brinicombe wrote:
> 
> A fast maths library does not *require* cross compiling so what is wrong with
> the gcc in the netbsd tree ? This compiles under RiscBSD with the following
> commands
> 
> tar xfz gnu.tar.gz
> cd src/gnu/usr.bin/gcc
> make

  The NetBSD-current one doesn't.

   Just tried it and got loads multiply defined ... erorrs when linking 
cc1plus.

  There's isn't a 1.2 source on sunsite.doc.ic.ac.uk so I didn't try that.

Just in case this is something that requires attention, here's some of the
errors. Doesn't look like anything serious, but presumably it *should*
compile out of the box? 

Ale.

cc -O2 -I. -I/usr/src/gnu/usr.bin/gcc/cc1plus 
-I/usr/src/gnu/usr.bin/gcc/cc1plus/../common 
-I/usr/src/gnu/usr.bin/gcc/cc1plus/../arch  
-I/usr/src/gnu/usr.bin/gcc/cc1plus/../arch/arm32 
-I/usr/src/gnu/usr.bin/gcc/common  -Werror  -c repo.c
cc   -o cc1plus call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o 
decl2.o error.o gc.o lex.o parse.o ptree.o spew.o typeck.o cvt.o edsel.o 
except.o init.o method.o search.o tree.o xref.o repo.o 
/usr/src/gnu/usr.bin/gcc/common/libcc1.a -lgnumalloc

collect2: ld returned 1 exit status
c-decl.o(.data+0x2c): multiple definition of `flag_signed_bitfields'
decl2.o(.data+0x0): first defined here
c-decl.o(.data+0x44): multiple definition of `dollars_in_ident'
decl2.o(.data+0x14): first defined here
c-decl.o(.text+0xe54): multiple definition of `print_lang_decl'
ptree.o(.text+0x4c): first defined here
c-decl.o(.text+0xe64): multiple definition of `print_lang_type'
ptree.o(.text+0x2e8): first defined here
c-decl.o(.text+0xeb0): multiple definition of `print_lang_identifier'
ptree.o(.text+0x6dc): first defined here
c-decl.o(.text+0x66e8): multiple definition of `complete_array_type'
decl.o(.text+0xad5c): first defined here
c-decl.o(.text+0xfc8): multiple definition of `global_bindings_p'
decl.o(.text+0x30c): first defined here

......

c-decl.o(.text+0xba68): multiple definition of `copy_lang_decl'
lex.o(.text+0xa228): first defined here
c-decl.o(.text+0x383c): undefined reference to `maybe_objc_check_decl'
c-decl.o(.text+0x63e4): undefined reference to `maybe_objc_check_decl'
c-decl.o(.text+0x6414): undefined reference to `maybe_objc_check_decl'
c-decl.o(.text+0x64b8): undefined reference to `maybe_objc_check_decl'
c-decl.o(.text+0x926c): undefined reference to `maybe_objc_check_decl'
c-decl.o(.text+0x9bf8): more undefined references to 
`maybe_objc_check_decl' follow
*** Error code 1

Stop.
*** Error code 1

Stop.