logo       

[ ghc-Bugs-742984 ] Compiling stuff with GHC 5.04.3 after installing gcc: msg#00047

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-742984 ] Compiling stuff with GHC 5.04.3 after installing gcc 3.3

Bugs item #742984, was opened at 2003-05-25 04:57
Message generated for change (Comment added) made by volkersf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=742984&group_id=8032

Category: Compiler
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Michael van der Kolff (vandy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compiling stuff with GHC 5.04.3 after installing gcc 3.3

Initial Comment:
Works! But has a *lot* of output on stderr. I'll try
to compile ghc with gcc 3.3 now :)

Example of the output provided is attached, along with
the relevant files to compile. Compiled like so:

ghc -O2 --make TreeUser > output 2> errors

----------------------------------------------------------------------

>Comment By: Volker Stolz (volkersf)
Date: 2003-05-27 12:40

Message:
Logged In: YES
user_id=126328

So you're using a GHC built with GCC 2.9* now with GCC 3.3?
Hm, no problem here:
*** C Compiler
gcc -x c /tmp/ghc97723.hc -o /tmp/ghc97723.raw_s -DDONT_WANT_WIN32_DLL_SUPPORT
-fno-defer-pop -fomit-frame-pointer -fno-builtin -DSTOLEN_X86_REGS=4 -v -S
-Wimplicit -O -D__GLASGOW_HASKELL__=505 -ffloat-store -I . -I
/usr/tmp/fptools/libraries/base/include -I /usr/tmp/fptools/ghc/includes
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.3/specs
Configured with: ./..//gcc-3.3/configure --disable-nls
--with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.3/include/c++/3.3
--with-system-zlib --disable-shared --prefix=/usr/local i386-portbld-freebsd4.8
Thread model: posix
gcc version 3.3 [FreeBSD]
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.3/cc1 -quiet -v -I . -I
/usr/tmp/fptools/libraries/base/include -I /usr/tmp/fptools/ghc/includes
-D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0
-DDONT_WANT_WIN32_DLL_SUPPORT -DSTOLEN_X86_REGS=4 -D__GLASGOW_HASKELL__=505
/tmp/ghc97723.hc -quiet -dumpbase ghc97723.hc -auxbase-strip
/tmp/ghc97723.raw_s -O -Wimplicit -version -fno-defer-pop -fomit-frame-pointer
-fno-builtin -ffloat-store -o /tmp/ghc97723.raw_s
GNU C version 3.3 [FreeBSD] (i386-portbld-freebsd4.8)
compiled by GNU C version 3.3 [FreeBSD].

What OS (on i386 I guess)? Did anything else get updated (e.g. 'as')?
Can you please re-compile the example with option -v?

----------------------------------------------------------------------

Comment By: Michael van der Kolff (vandy)
Date: 2003-05-25 10:52

Message:
Logged In: YES
user_id=322025

BTW, everything worked as promised with 2.96, didn't do
quite so well with 3.2 :(

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=742984&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise