Bug#445336: [hppa] ICE when building asterisk
Faidon Liambotis
paravoid at debian.org
Fri Oct 5 02:32:35 UTC 2007
Package: gcc-4.2
Version: 4.2.1-5
Severity: grave
As can be witnessed from the build logs on buildd.d.o[1], gcc-4.2
produces an ICE when trying to build pbx_dundi.c on hppa.
The log doesn't show the gcc arguments (upstream Makefiles have the "pretty"
build feature, disabled in our trunk). These are:
> gcc -o pbx_dundi.o -c pbx/pbx_dundi.c \
> -pthread -Iinclude -pipe -Wall \
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
> -g3 -include include/asterisk/autoconfig.h -O2 -fPIC \
> -DAST_MODULE=\"pbx_dundi\"
> pbx/pbx_dundi.c: In function 'handle_command_response':
> pbx/pbx_dundi.c:1885: internal compiler error: in delete_output_reload,
> at reload1.c:7958
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bug reporting instructions,
> see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
The build is a bit tricky because of autoconf magic etc.
There is an extracted source that will build the file using the above
arguments on paer.debian.org:~paravoid/asterisk-1.4.11~dfsg
Unfortunately, line 1885 is a closing brace for a *HUGE* function, so it
really hard to pinpoint this further.
However, I've tried with gcc-4.1 and gcc-snapshot and they both manage to
compile without problems; may be the bug is found and fixed upstream
already.
Thanks,
Faidon
1: http://buildd.debian.org/build.php?arch=hppa&pkg=asterisk
More information about the Pkg-voip-maintainers
mailing list