tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: couple of recent build issues on current i386



On Tue, 30 Nov 2010, Mark Davies wrote:
> I'm rebuilding a bunch of packages that I built fine with a pkgsrc
> HEAD from a few weeks ago, but with todays HEAD I'm striking two
> problems:
>
> libcanberra (now needed by libgnome) fails with:
>
> gmake[2]: Entering directory
> `/local/scratch/pkgsrc/audio/libcanberra/work.test/libcanberra-0.26
>/src' CC     libcanberra_gtk_module_la-canberra-gtk-module.lo
> cc1: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.

This one seems to be that gcc really doesn't 
like -Wmissing-include-dirs.  I'll add this patch unless anyone 
objects.

$NetBSD$

NetBSD 5.99.39/i386 gcc segfaults with -Wmissing-include-dirs

--- configure.orig      2010-11-30 21:47:34.000000000 +0000
+++ configure
@@ -5469,7 +5469,7 @@ fi
 
 
 
-DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla 
-Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 
-Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wmissing-include-dirs 
-Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings 
-Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common 
-fdiagnostics-show-option -fno-strict-aliasing"
+DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wno-long-long -Winline -Wvla 
-Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 
-Wlogical-op -Wsign-compare -Wpacked -Wformat-security -Wformat-nonliteral 
-Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn 
-Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wcast-align -Wwrite-strings 
-Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common 
-fdiagnostics-show-option -fno-strict-aliasing"
 
 for flag in $DESIRED_FLAGS ; do
 


> emacs fails to build with:

still to sort this one.

cheers
mark


Home | Main Index | Thread Index | Old Index