Ticket #1538 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

GHC/Float.lhs on Mac OS X 10.4 can not always be compiled with -split-objs

Reported by: Christian.Maeder@… Owned by:
Priority: normal Milestone: 6.8.1
Component: Compiler Version: 6.6.1
Keywords: Cc:
Operating System: MacOS X Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

compiling vith -fasm fails:

../../compiler/ghc-inplace -O -fasm -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name  base-2.1.1 -fgenerics -split-objs    -c GHC/Float.lhs -o GHC/Float.o  -ohi GHC/Float.hi
/tmp/ghc12017_0/ghc12017_0.split__38.s:unknown:missing indirect symbols for section (__TEXT,__symbol_stub)

it succeeds with -fvia-C

../../compiler/ghc-inplace -O -fvia-C -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -package-name  base-2.1.1 -fgenerics -split-objs -c GHC/Float.lhs -o GHC/Float.o  -ohi GHC/Float.hi

it succeeds in all cases without -split-objs. The above failure caused the first Failed to load interface for `Prelude' error reported in #1437

Change History

Changed 5 years ago by Christian.Maeder@…

  • status changed from new to closed
  • resolution set to fixed

driver/split/ghc-split.lprl from the HEAD works now for me

Changed 4 years ago by igloo

  • milestone changed from 6.8 branch to 6.8.1
Note: See TracTickets for help on using tickets.