Bug#995429: ghc ftbfs in unstable (after fixing the autoconf issue)

Matthias Klose doko at debian.org
Fri Oct 1 08:05:40 BST 2021


Package: src:ghc
Version: 8.8.4-2
Severity: serious
Tags: sid bookworm

after fixing the autoconf 2.7x issue, the ghc build still fails with:

[...]
rts/RetainerSet.c: In function ‘printRetainerSetShort’:

rts/RetainerSet.c:241:21: error:
     warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
      241 |     tmp[max_length] = '\0';
          |     ~~~~~~~~~~~~~~~~^~~~~~
    |
241 |     tmp[max_length] = '\0';
    |                     ^

rts/RetainerSet.c:235:10: error:
     note: at offset [-9223372036854775808, 9223372036854775807] to an object
with size at most 4294967295 declared here
      235 |     char tmp[max_length + 1];
          |          ^~~
    |
235 |     char tmp[max_length + 1];
    |          ^



and also:

[...]
rts/posix/Signals.c:680:5: error:
     warning: ‘siginterrupt’ is deprecated: Use sigaction with SA_RESTART
instead [-Wdeprecated-declarations]
      680 |     siginterrupt(SIGINT, 1);    // isn't this the default? --SDM
          |     ^~~~~~~~~~~~
    |
680 |     siginterrupt(SIGINT, 1);    // isn't this the default? --SDM
    |     ^
In file included from rts/posix/Signals.h:12,
                 from rts/RtsSignals.h:13,

                 from rts/posix/Signals.c:13:0: error:

/usr/include/signal.h:311:12: error:
     note: declared here
      311 | extern int siginterrupt (int __sig, int __interrupt) __THROW
          |            ^~~~~~~~~~~~
    |
311 | extern int siginterrupt (int __sig, int __interrupt) __THROW
    |            ^


[...]
rts/sm/Evac.c:255:1: error:
     warning: inlining failed in call to ‘evacuate_large’: --param
max-inline-insns-single limit reached [-Winline]
      255 | evacuate_large(StgPtr p)
          | ^~~~~~~~~~~~~~
    |
255 | evacuate_large(StgPtr p)
    | ^

rts/sm/Evac.c:596:11: error:
     note: called from here
      596 |           evacuate_large((P_)q);
          |           ^~~~~~~~~~~~~~~~~~~~~
    |
596 |           evacuate_large((P_)q);
    |           ^
rts/sm/Evac.c: In function ‘evacuate_BLACKHOLE1’:

rts/sm/Evac.c:255:1: error:
     warning: inlining failed in call to ‘evacuate_large’: --param
max-inline-insns-single limit reached [-Winline]
      255 | evacuate_large(StgPtr p)
          | ^~~~~~~~~~~~~~
    |
255 | evacuate_large(StgPtr p)
    | ^

rts/sm/Evac.c:901:9: error:
     note: called from here
      901 |         evacuate_large((P_)q);
          |         ^~~~~~~~~~~~~~~~~~~~~
    |
901 |         evacuate_large((P_)q);
    |         ^



More information about the Pkg-haskell-maintainers mailing list