Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.1.0.1 revision 7: remove restrictive bounds, add CI for GHC 9.8 #8

Merged
merged 3 commits into from
Nov 17, 2023

Conversation

andreasabel
Copy link
Member

Closes #7.

@andreasabel
Copy link
Member Author

We get a build failure for hsc2hs-0.68.10 under GHC 8.2 and 8.0 here:
https://github.com/haskell-hvr/windns/actions/runs/6909745495/job/18801646012#step:4:22

Building executable 'hsc2hs' for hsc2hs-0.68.10..
...
[12 of 12] Compiling Main             ( src\Main.hs, dist\build\hsc2hs\hsc2hs-tmp\Main.o )
In file included from C:\ghcup\ghc\8.2.2\lib\base-4.10.1.0\include/HsBase.h:29,

Error: cabal-3.10.2.0.exe: Failed to build exe:hsc2hs from hsc2hs-0.68.10
(which is required by windns-0.1.0.1). See the build log above for details.

                 from cbits\utils.c:9:0: error: 
C:\ghcup\ghc\8.2.2\lib\base-4.10.1.0\include/HsBase.h:545:15: warning: '__p__environ' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
  545 | extern char** environ;
      |               ^~~~~~~
Linking dist\build\hsc2hs\hsc2hs.exe ...
dist\build\hsc2hs\hsc2hs-tmp\cbits\utils.o:utils.c:(.text+0x33): undefined reference to `__stdio_common_vswprintf_s'
C:\sr\ghc-8.2.2\process-1.6.18.0-658f55d[27](https://github.com/haskell-hvr/windns/actions/runs/6909745495/job/18801646012#step:4:28)d6ee087180e4eea644a00c1656ef[33](https://github.com/haskell-hvr/windns/actions/runs/6909745495/job/18801646012#step:4:34)d\lib/libHSprocess-1.6.18.0-658f55d27d6ee087180e4eea644a00c1656ef33d.a(runProcess.o):runProcess.c:(.text+0x1[37](https://github.com/haskell-hvr/windns/actions/runs/6909745495/job/18801646012#step:4:38)): undefined reference to `__stdio_common_vswprintf_s'
collect2.exe: error: ld returned 1 exit status

I already reported this issue:

I'll proceed and shut off CI for GHC < 8.4 here.

@andreasabel andreasabel merged commit 9b4b445 into master Nov 17, 2023
9 of 11 checks passed
@andreasabel andreasabel deleted the ghc-9.8 branch November 17, 2023 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump bytestring and deepseq to allow GHC 9.8
1 participant