From: Pedro G. <pfg@FreeBSD.org> - 2014-04-27 21:01:13
|
El 27/04/2014 15:39, Kostas Oikonomou escribió: > [ko@wiley ~/build/reduce]$ cd psl/dist/kernel/freeBSD64 > [ko@wiley ~/build/reduce/psl/dist/kernel/freeBSD64]$ ./cclnk > pslextras.c:170:9: error: non-void function 'setenv' should return a > value [-Wreturn-type] > return; > ^ > 1 error generated. > [ko@wiley ~/build/reduce/psl/dist/kernel/freeBSD64]$ > This is just clang being more picky than gcc. You can probably disable the warnings but it looks like a good chance to clean the code. Building on other platforms with clang should reveal the same issues. > I see that "cclnk" invokes "cc". This prompts me to ask: does the > build need gcc? The default C compiler on FreeBSD 10 is clang. It was > gcc up to FreeBSD 9.2. gcc is still available, but I would need to > specify CC=gcc on the "configure" line. > In FreeBSD's 10 port, the older version of reduce-csl is being built with clang by default. Pedro. > On 04/27/2014 15:09, Rainer Schöpf wrote: >> On Sun, 27 Apr 2014 at 14:36 -0400, Kostas Oikonomou wrote: >> >> > Ok, here is what happens now. The "configure" step has improved, but the >> > "make" still has problems. >> >> Interesting. The PSL port was build on FreeBSD 8.3, so it is probably necessary >> to recompile on 10.0. I don't have 10.0 readily available, so this will take a >> bit of time. >> >> If you're feeling adventorous, you might try for yourself: >> >> cd psl/dist/kernel/freeBSD64 >> ./cclnk >> >> Remove the >> >> pslbuild/x86_64-unknown-freebsd10.0 >> >> directory and run configure again. >> >> Rainer >> > |