Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,345
    • Issues 5,345
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 568
    • Merge requests 568
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #16083
Closed
Open
Issue created Dec 22, 2018 by Ben Gamari@bgamari🐢Maintainer

tests relying on <iostream> are broken on Mojave builder

It appears that something has changed in the Darwin toolchain such that <iostream> is no longer found by default:

cd "driver/recomp001/recomp001.run" && $MAKE -s --no-print-directory recomp001  
Compile failed (exit code 1) errors were:
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]

objcpp-hi.mm:2:9: error:  fatal error: 'iostream' file not found
#import <iostream>
        ^~~~~~~~~~
1 warning and 1 error generated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)

*** unexpected failure for objcpp-hi(normal)

Compile failed (exit code 1) errors were:
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]

/var/folders/pb/c3dc08v12yzc536lnrnngvd40000gq/T/ghc56064_0/ghc_2.cpp:1:10: error:
     fatal error: 'iostream' file not found
#include <iostream>
         ^~~~~~~~~~
1 warning and 1 error generated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)

*** unexpected failure for T13366(normal)

Marking as broken.

Edited Mar 10, 2019 by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking