pkgsrc-Bugs archive

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

pkg/41776: textproc/libxml2 triggers a compiler problem on sun3



>Number:         41776
>Category:       pkg
>Synopsis:       textproc/libxml2 triggers a compiler problem on sun3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 24 15:30:00 +0000 2009
>Originator:     John Carr
>Release:        NetBSD/sun3-5.0
>Organization:
>Environment:
NetBSD moonbeam 5.0 NetBSD 5.0 (MOONBEAM-SLIM) #0: Wed Jul 15 19:42:20 EDT 2009 
 root@moonbeam:/usr/src/sys/arch/sun3/compile/MOONBEAM-SLIM sun3

>Description:
Compiling libxml2-2.7.3 out of pkgsrc-2009Q2 as well as pkgsrc-current fails in 
the following way:

/bin/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I./include 
-I./include     -I/usr/include -I/usr/pkg/include -I/usr/include  -O2 
-I/usr/include -I/usr/pkg/include -pedantic -W -Wformat -Wunused -Wimplicit 
-Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts 
-Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-externs -Winline -Wredundant-decls -MT xmlschemas.lo -MD -MP -MF 
.deps/xmlschemas.Tpo -c -o xmlschemas.lo xmlschemas.c
 cc -DHAVE_CONFIG_H -I. -I./include 
-I/usr/pkgsrc/textproc/libxml2/work/.buildlink/include -O2 -pedantic -W 
-Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs 
-Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow 
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline 
-Wredundant-decls -MT xmlschemas.lo -MD -MP -MF .deps/xmlschemas.Tpo -c 
xmlschemas.c  -fPIC -DPIC -o .libs/xmlschemas.o
xmlschemas.c: In function 'xmlSchemaParseLocalAttribute':
xmlschemas.c:7448: warning: cast increases required alignment of target type
xmlschemas.c: In function 'xmlSchemaExpandAttributeGroupRefs':
xmlschemas.c:19063: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
gmake[2]: *** [xmlschemas.lo] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/textproc/libxml2/work/libxml2-2.7.3'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/textproc/libxml2/work/libxml2-2.7.3'
gmake: *** [all] Error 2
*** Error code 2




This occurs with my trimmed kernel (basically, with maxusers increased, 
sun3-VME drivers removed, and MAXDSIZ increased to 96M), as well as GENERIC.

Path: 
sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin

Stock gcc with install:
moonbeam# gcc -v
Using built-in specs.
Target: m68k--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=x86_64-unknown-netbsd4.99.72 --host=m68k--netbsdelf 
--target=m68k--netbsdelf --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)



>How-To-Repeat:
Compile libxml2 out of pkgsrc.
>Fix:



Home | Main Index | Thread Index | Old Index