[Pkg-gauche-devel] Bug#777861: Bug#777861: Bug#777861: gauche-c-wrapper: ftbfs with GCC-5

Martin Michlmayr tbm at hp.com
Fri Jun 26 14:47:53 UTC 2015


* Jens Thiele <karme at karme.de> [2015-06-26 10:10]:
> you really should provide output of something like this:
> $ cat << "EOF" > test.h
> #define B() 1
> #define A B
> EOF
> $ echo -e "100\nB()\nA"|gcc-YOURVERSION -E -include test.h -|tail

I'm not Matthias, but I can confirm that the package fails to build in
a Debian unstable chroot with GCC 5 the way Matthias reported.

(sid-gcc5)1878:tbm at bl460gen8-30: ~/gauche-c-wrapper-0.6.1] cat test.h
#define B() 1
#define A B
(sid-gcc5)1879:tbm at bl460gen8-30: ~/gauche-c-wrapper-0.6.1] echo -e "100\nB()\nA"|gcc-5 -E -include test.h -|tail
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "./test.h" 1
# 1 "<command-line>" 2
# 1 "<stdin>"
100
1
B
(sid-gcc5)1880:tbm at bl460gen8-30: ~/gauche-c-wrapper-0.6.1] gcc-5 --version
gcc-5 (Debian 5.1.1-12) 5.1.1 20150622
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Note that gcc-5 is in unstable, so you can easily reproduce this yourself
with:
CC=gcc-5 CXX=g++-5 dpkg-buildpackage -rfakeroot

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard



More information about the Pkg-gauche-devel mailing list