*BSD News Article 5467


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!yale.edu!ira.uka.de!fauern!fauna!vepaepck
From: vepaepck@immd4.informatik.uni-erlangen.de (Volker Paepcke (CIP87))
Subject: gcc-2.2.2, BSDI, runtime errors in fixdfsi.o !?!?
Message-ID: <BuzwJJ.MH0@immd4.informatik.uni-erlangen.de>
Organization: CSD., University of Erlangen, Germany
Date: Tue, 22 Sep 1992 19:52:29 GMT
Lines: 31

Hi!

While installing gcc-2.2.2 under BSDI I have discovered a problem with
floating point arithmetik at runtime. E.g. Postscript-2.5 or
xfig-2.4.1 are running out of stacksize while entering the
routine fixdfsi the first time. Gdb reported a recursive call
of this routine but I don't understand assembler so I tried the
module fixdfsi.o from the distribution version of the gcc version 1.39
and it worked.
There are some functions in the distribution library /usr/lib/libgnulib.a
which seem to be rewritten for BSDI. I found them in /usr/src/lib/libc/-
i386/gen but I don't know if this is the correct way to get 2.2.2 to work.

These are the steps of the installing of gcc-2.2.2:
- applying patch gcc-2.2.2.patches.v2 on gcc-2.2.2.tar.Z sources.
- configure i386-bsdi
- make LANGUAGES=c CC=/usr/bin/gcc
- make stage1
- make LANGUAGES=c 'CC=stage1/gcc -Bstage1/' CFLAGS='-g -O'
- the same for stage 2
- make compare (OK)
- make LANGUAGES=c 'CC=stage2/gcc -Bstage2/' CFLAGS='-g -O' install
- remove /usr/local/lib/gcc-lib/i386-bsd/2.2.2/stddef.h
  (size_t redefined in many include files under /usr/include)


Probably I made a big mistake since I never noticed any problems like
this in the news.
So please help me!!!

Thanks, Volker