Created
August 16, 2016 01:41
-
-
Save relrod/d132ee726053a88193248e2afbb9b358 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ricky@t520 82% /nix/ghc-8.0.1$ make | |
===--- building phase 0 | |
make --no-print-directory -f ghc.mk phase=0 phase_0_builds | |
make[1]: Nothing to be done for 'phase_0_builds'. | |
===--- building phase 1 | |
make --no-print-directory -f ghc.mk phase=1 phase_1_builds | |
make[1]: Nothing to be done for 'phase_1_builds'. | |
===--- building final phase | |
make --no-print-directory -f ghc.mk phase=final all | |
"inplace/bin/ghc-stage1" -optc-fno-stack-protector -optc-Wall -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-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-DNOSMP -optc-DUSE_LIBFFI_FOR_ADJUSTORS -optc-fno-strict-aliasing -optc-fno-common -optc-Irts/dist/build/autogen -optc-Werror=unused-but-set-variable -optc-Wno-error=inline -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_v\" -static -O0 -H64m -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -optc-DNOSMP -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/posix/Itimer.c -o rts/dist/build/posix/Itimer.o | |
rts/posix/Itimer.c: In function ‘initTicker’: | |
rts/posix/Itimer.c:178:25: error: | |
error: storage size of ‘ev’ isn’t known | |
struct sigevent ev; | |
^~ | |
rts/posix/Itimer.c:183:27: error: | |
error: ‘SIGEV_SIGNAL’ undeclared (first use in this function) | |
ev.sigev_notify = SIGEV_SIGNAL; | |
^~~~~~~~~~~~ | |
rts/posix/Itimer.c:183:27: error: | |
note: each undeclared identifier is reported only once for each function it appears in | |
rts/posix/Itimer.c:186:13: error: | |
warning: implicit declaration of function ‘timer_create’ [-Wimplicit-function-declaration] | |
if (timer_create(CLOCK_ID, &ev, &timer) != 0) { | |
^~~~~~~~~~~~ | |
rts/posix/Itimer.c:186:9: error: | |
warning: nested extern declaration of ‘timer_create’ [-Wnested-externs] | |
if (timer_create(CLOCK_ID, &ev, &timer) != 0) { | |
^~ | |
rts/posix/Itimer.c:178:25: error: | |
warning: unused variable ‘ev’ [-Wunused-variable] | |
struct sigevent ev; | |
^~ | |
rts/posix/Itimer.c: In function ‘startTicker’: | |
rts/posix/Itimer.c:210:13: error: | |
warning: implicit declaration of function ‘timer_settime’ [-Wimplicit-function-declaration] | |
if (timer_settime(timer, 0, &it, NULL) != 0) { | |
^~~~~~~~~~~~~ | |
rts/posix/Itimer.c:210:9: error: | |
warning: nested extern declaration of ‘timer_settime’ [-Wnested-externs] | |
if (timer_settime(timer, 0, &it, NULL) != 0) { | |
^~ | |
rts/posix/Itimer.c: In function ‘exitTicker’: | |
rts/posix/Itimer.c:273:5: error: | |
warning: implicit declaration of function ‘timer_delete’ [-Wimplicit-function-declaration] | |
timer_delete(timer); | |
^~~~~~~~~~~~ | |
rts/posix/Itimer.c:273:5: error: | |
warning: nested extern declaration of ‘timer_delete’ [-Wnested-externs] | |
`sparc64-unknown-openbsd5.9-gcc' failed in phase `C Compiler'. (Exit code: 1) | |
rts/ghc.mk:255: recipe for target 'rts/dist/build/posix/Itimer.o' failed | |
make[1]: *** [rts/dist/build/posix/Itimer.o] Error 1 | |
Makefile:129: recipe for target 'all' failed | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment