I get:
~/gub/target/tools/build/librestrict-1.9.a$
gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o librestrict-stat.so
restrict-stat.c
In file included from restrict-stat.c:106:0:
./xstatconv.c: In function ‘__xstat_conv’:
./xstatconv.c:90:5: error: ‘struct stat’ has no member named ‘__unused4’
buf->__unused4 = 0;
^
./xstatconv.c:93:5: error: ‘struct stat’ has no member named ‘__unused5’
buf->__unused5 = 0;
^
./xstatconv.c: In function ‘__xstat32_conv’:
./xstatconv.c:266:5: error: ‘struct stat’ has no member named ‘__unused4’
buf->__unused4 = 0;
^
./xstatconv.c:269:5: error: ‘struct stat’ has no member named ‘__unused5’
buf->__unused5 = 0;
^
--
Phil Holmes
----- Original Message -----
From: "Jan Nieuwenhuizen" <jann...@gnu.org>
To: "Phil Holmes" <m...@philholmes.net>
Cc: "David Kastrup" <d...@gnu.org>; "Federico Bruni" <fedel...@gmail.com>;
<lilypond-devel@gnu.org>
Sent: Tuesday, October 28, 2014 12:58 PM
Subject: Re: GUB and mpfr/mpc
Phil Holmes writes:
If there's nothing in the log file, you'll have to investigate by hand.
Go to the build directory and see
cd /home/gub/gub/target/tools/build/librestrict-1.9.a
gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o
librestrict-stat.so restrict-stat.c
(eg, doing gcc -vvv or cpp -E or somesuch) why it fails to compile.
It's a simple c file with local includes; weird.
Greetings,
Jan
I get:
calculating dependencies
Checking for gcc ... /usr/bin/gcc
must rebuild[tools]: system::gcc librestrict make libtool file tar m4
perl autoconf patch zlib
building package: tools::librestrict
*** Stage: download (librestrict, tools)
*** Stage: untar (librestrict, tools)
*** Stage: patch (librestrict, tools)
*** Stage: shadow (librestrict, tools)
*** Stage: compile (librestrict, tools)
Command barfed: cd /home/gub/gub/target/tools/build/librestrict-1.9.a
&& gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o
librestrict-stat.so restrict-stat.c || gcc -W -Wall -I. -fPIC -shared
-o librestrict-stat.so restrict-stat.c
Tail of target/tools/log/librestrict.log >>>>>>>>
./xstatconv.c:269:5: error: 'struct stat' has no member named '__unused5'
buf->__unused5 = 0;
^
Command barfed: cd /home/gub/gub/target/tools/build/librestrict-1.9.a
&& gcc -W -Wall -fno-stack-protector -I. -fPIC -shared -o
librestrict-stat.so restrict-stat.c || gcc -W -Wall -I. -fPIC -shared
-o librestrict-stat.so restrict-stat.c
<<<<<<<< Tail of target/tools/log/librestrict.log
*** Failed target: tools::librestrict
--
Phil Holmes
----- Original Message -----
From: "Jan Nieuwenhuizen" <jann...@gnu.org>
To: "Phil Holmes" <m...@philholmes.net>
Cc: "David Kastrup" <d...@gnu.org>; "Federico Bruni"
<fedel...@gmail.com>; <lilypond-devel@gnu.org>
Sent: Tuesday, October 28, 2014 10:45 AM
Subject: Re: GUB and mpfr/mpc
Phil Holmes writes:
https://github.com/gperciva/gub
I don't think librestrict has changed in years, works for me [on 14.10].
Jan
$ ./bin/gub tools::librestrict
calculating dependencies
Checking for gcc ... /usr/bin/gcc
must rebuild[tools]: system::gcc librestrict make libtool file tar m4
perl autoconf patch zlib
Checking for gcc ... (cached) /usr/bin/gcc
building package: system::gcc
*** Stage: download (gcc, system)
*** Stage: configure (gcc, system)
Checking for gcc ... (cached) /usr/bin/gcc
building package: tools::librestrict
*** Stage: download (librestrict, tools)
*** Stage: untar (librestrict, tools)
*** Stage: patch (librestrict, tools)
*** Stage: shadow (librestrict, tools)
*** Stage: compile (librestrict, tools)
*** Stage: install (librestrict, tools)
*** Stage: package (librestrict, tools)
*** Stage: clean (librestrict, tools)
*** Stage: pkg_install (librestrict, tools)
[...]
--
Jan Nieuwenhuizen <jann...@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel