Failure with GCC 7
- Dominant language
- Haskell
- Stars
- 211
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
I was trying to build gnuidn-0.2.2 against GCC 7.1.1 and failed with a failure of c2hs:
```
Preprocessing library gnuidn-0.2.2...
c2hs: C header contains errors:
/usr/lib/gcc/i686-pc-linux-gnu/7.1.1/include/stddef.h:435: (column 3) [ERROR] >>> Syntax error !
The symbol `__float128' does not fit here.
```
I have tried to build it against GCC 6.3.1 and the error is gone. It seems a problem of c2hs with GCC 7.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the c2hs preprocessing failure while building gnuidn-0.2.2 with GCC 7.1.1, then inspect how c2hs parses /usr/lib/gcc/i686-pc-linux-gnu/7.1.1/include/stddef.h around line 435 and compare the GCC 6.3.1 behavior. Done means the affected build completes under GCC 7 without regressing the older toolchain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100