logo       

RE: "Error: symbol `__stg_split_marker' is already defined": msg#00023

lang.haskell.glasgow.bugs

Subject: RE: "Error: symbol `__stg_split_marker' is already defined"

On 04 August 2005 13:16, Frederik Eaton wrote:

> On Thu, Aug 04, 2005 at 12:27:45PM +0100, Simon Marlow wrote:
>> On 04 August 2005 10:47, Frederik Eaton wrote:
>>
>>> I'm trying to compile (a modified version of) HSQL and the
>>> compilation fails on the first ghc invocation:
>>>
>>> ...
>>> rm -f build/libHSsql.a
>>> cp src/HSQL/Types.hs build/Database/HSQL/Types.hs
>>> mkdir -p build/Database/HSQL/Types_split
>>> rm -f build/Database/HSQL/Types_split/*
>>> /usr/bin/ghc build/Database/HSQL/Types.hs -O -c -ibuild
>>> -fglasgow-exts -split-objs -I/home/frederik/include/mysql -Isrc/HSQL
>>> -package-name hsql /tmp/ghc12887.s: Assembler messages:
>>> /tmp/ghc12887.s:99: Error: symbol `__stg_split_marker' is already
>>> defined /tmp/ghc12887.s:194: Error: symbol `__stg_split_marker' is
>>> already defined /tmp/ghc12887.s:289: Error: symbol
>>> `__stg_split_marker' is already defined /tmp/ghc12887.s:384: Error:
>>> symbol `__stg_split_marker' is already defined /tmp/ghc12887.s:479:
>>> Error: symbol `__stg_split_marker' is already defined
>>> /tmp/ghc12887.s:574: Error: symbol `__stg_split_marker' is already
>>> defined /tmp/ghc12887.s:669: Error: symbol `__stg_split_marker' is
>>> already defined /tmp/ghc12887.s:764: Error: symbol
>>> `__stg_split_marker' is already defined /tmp/ghc12887.s:859: Error:
>>> symbol `__stg_split_marker' is already defined /tmp/ghc12887.s:954:
>>> Error: symbol `__stg_split_marker' is already defined
>>> /tmp/ghc12887.s:1049: Error: symbol `__stg_split_marker' is already
>>> defined ... /tmp/ghc12887.s:19629: Error: symbol
>>> `__stg_split_marker' is already defined /tmp/ghc12887.s:19653:
>>> Error: symbol `__stg_split_marker' is already defined
>>> /tmp/ghc12887.s:19677: Error: symbol `__stg_split_marker' is
>>> already defined /tmp/ghc12887.s:19721: Error: symbol
>>> `__stg_split_marker' is already defined /tmp/ghc12887.s:19765:
>>> Error: symbol `__stg_split_marker' is already defined make: ***
>>> [build/Database/HSQL/Types.o] Error 1
>>
>> What version of ghc and platform?
>
> Sorry...:
>
> # ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.4
> # uname -a
> Linux fly 2.4.25-powerpc #1 mer avr 14 15:38:38 CEST 2004 ppc
> GNU/Linux

Strange.. as far as I can tell, -split-objs is supposed to be supported
on powerpc-*-linux. Can any powerpc-*-linux experts comment?

Perhaps you could try adding -v to that command line and post the
output.

Cheers,
Simon


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

News | FAQ | advertise