RTS validate failures on Linux

Austin Seipp austin at well-typed.com
Thu Oct 16 21:02:50 UTC 2014


Hi Jan,

This fix should work, although I can't reproduce it; I imagine you
must not have pthread_setname_ap available. It's glibc 2.12+ only,
while Debian oldstable only has glibc 2.11.

https://phabricator.haskell.org/D344

Let me know if it works for you.

On Thu, Oct 16, 2014 at 5:47 AM, Jan Stolarek <jan.stolarek at p.lodz.pl> wrote:
> Simon,
>
> I'm getting this error when validating HEAD on 64 bit Linux:
>
> ===================
>
> "inplace/bin/ghc-stage1" -optc-fno-stack-protector -optc-Werror -optc-Wall -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissi
> ng-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnest
> ed-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist
> -ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-O2 -optc-fom
> it-frame-pointer -optc-DRtsWay=\"rts_thr\" -static -optc-DTHREADED_RTS  -H32m -O -Werror -Wall -H64m -O0 -Iincludes -Iincludes/dist -Iin
> cludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key
> rts -dcmm-lint      -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen           -O2    -c
> rts/posix/OSThreads.c -o rts/dist/build/posix/OSThreads.thr_o
>
> cc1: warnings being treated as errors
> rts/posix/OSThreads.c: In function ‘createOSThread’:
>
> rts/posix/OSThreads.c:132:40:  error: unused parameter ‘name’
> gmake[1]: *** [rts/dist/build/posix/OSThreads.thr_o] Error 1
>
> ===================
>
> I believe this might be a result of your commit 674c631ea111233daa929ef63500d75ba0db8858 from
> Friday.
>
> Janek
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs



-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/


More information about the ghc-devs mailing list