[MLton] Re: [MLton-commit] r6687

Matthew Fluet fluet at tti-c.org
Mon Aug 18 11:31:32 PDT 2008


On Mon, 18 Aug 2008, Matthew Fluet wrote:
> On Tue, 5 Aug 2008, Wesley Terpstra wrote:
>>  The MLton pseudoOp global might not always be hidden. This patch adds a
>>  new
>>  pseudoOp for the hidden assembler directive. Furthermore, this directive
>>  does
>>  not exist on windows and should not be emitted.
>
> This commit breaks x86-darwin:
>
> "mlton" -target self mllex.mlb
> /tmp/fileKVIuK1.2.S:127:Unknown pseudo-op: .hidden
> /tmp/fileKVIuK1.2.S:127:Rest of line ignored. 1st junk character valued 95 
> (_).
> /tmp/fileKVIuK1.2.S:559:Unknown pseudo-op: .hidden
> /tmp/fileKVIuK1.2.S:559:Rest of line ignored. 1st junk character valued 95 
> (_).
> /tmp/fileKVIuK1.2.S:667:Unknown pseudo-op: .hidden
> /tmp/fileKVIuK1.2.S:667:Rest of line ignored. 1st junk character valued 95 
> (_).
> ...
> /tmp/fileKVIuK1.2.S:11619:Unknown pseudo-op: .hidden
> /tmp/fileKVIuK1.2.S:11619:Rest of line ignored. 1st junk character valued 95 
> (_).
> call to system failed with exit status 1:
> gcc -c -o /tmp/fileamIAwv.o /tmp/fileKVIuK1.2.S
> make[3]: *** [mllex] Error 1
> make[2]: *** [tools] Error 2
> make[1]: *** [all-no-docs] Error 2
> make: *** [all] Error 2

*-darwin uses Mach-O object files, not ELF.




More information about the MLton mailing list