[Pkg-gauche-devel] Bug#777861: Bug#777861: Bug#777861: gauche-c-wrapper: ftbfs with GCC-5
Jens Thiele
karme at karme.de
Fri Jun 26 08:10:37 UTC 2015
reduced severity to important because i don't think the bug report is
valid.
see also:
http://sourceforge.net/p/gauche/mailman/message/33853322/
never got an answer to my last mail
looking at
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20150402-vivid.html
it seems only ppc64el and powerpc fail
likely this is caused by ubuntu using a "broken" gcc version (and not
caused by using gcc 5!)
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
examples:
$ cat << "EOF" > test.h
#define B() 1
#define A B
EOF
$ echo -e "100\nB()\nA"|gcc-4.4 -E -include test.h -|tail
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "./test.h" 1
# 1 "<command-line>" 2
# 1 "<stdin>"
100
1
B
$ echo -e "100\nB()\nA"|gcc-4.6 -E -include test.h -|tail
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "./test.h" 1
# 1 "<command-line>" 2
# 1 "<stdin>"
100
1
# 2 "./test.h"
B
$ echo -e "100\nB()\nA"|gcc-4.7 -E -include test.h -|tail
# 1 "<stdin>"
# 1 "<command-line>"
# 1 "./test.h" 1
# 1 "<command-line>" 2
# 1 "<stdin>"
100
1
# 2 "./test.h"
B
$ echo -e "100\nB()\nA"|gcc-4.8 -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
$ echo -e "100\nB()\nA"|gcc-4.9 -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
$ /usr/lib/gcc-snapshot/bin/cpp --version
cpp (Debian 20150404-1) 5.0.0 20150404 (experimental) [trunk revision 221867]
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.
$ echo -e "100\nB()\nA"|/usr/lib/gcc-snapshot/bin/cpp -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
greetings
jens
More information about the Pkg-gauche-devel
mailing list