Mangler problem building libraries/ with gcc 3.0.4

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sun Feb 24 02:51:19 EST 2002


Fri, 22 Feb 2002 11:41:58 +0000 (GMT), Nicholas Nethercote <njn25 at cam.ac.uk> pisze:

> I tried building the standard library in libraries/ with gcc 3.0.4;  it
> grinds to a halt at this point:
> 
> Data/Array/Base.hs:1162:
>     Warning: foreign declaration uses deprecated non-standard syntax
> ghc-asm: (mangler) still have jump involving %edi!

I confirm. As a workaround I have this in mk/build.mk:

ArrayBase_HC_OPTS = -pgmcgcc-2.95.3 #not needed anymore
PosixTTY_HC_OPTS = -pgmcgcc-2.95.3
Data/Array/Base_HC_OPTS = -pgmcgcc-2.95.3

where gcc-2.95.3 is an old gcc binary (with its files left in
/usr/lib/gcc-lib).

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^
QRCZAK




More information about the Glasgow-haskell-bugs mailing list