Subject: Re: pkg/34099: programs using xorg-libs crash with signal 10 on
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Eye of the Beholder <eye.of.the.8eholder@gmail.com>
List: pkgsrc-bugs
Date: 07/27/2006 16:15:17
The following reply was made to PR pkg/34099; it has been noted by GNATS.

From: Eye of the Beholder <eye.of.the.8eholder@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34099: programs using xorg-libs crash with signal 10 on
 amd64
Date: Thu, 27 Jul 2006 19:13:12 +0300

 On Thu, 27 Jul 2006 15:55:04 +0000 (UTC)
 Joerg Sonnenberger <joerg@britannica.bec.de> wrote:
 
 > The following reply was made to PR pkg/34099; it has been noted by
 > GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/34099: programs using xorg-libs crash with signal 10
 > on amd64 Date: Thu, 27 Jul 2006 17:49:45 +0200
 > 
 >  On Thu, Jul 27, 2006 at 03:30:00PM +0000,
 > eye.of.the.8eholder@gmail.com wrote:
 >  > >Fix:
 >  > Mihai CHELARU <mihai.chelaru@girsa.ro> 
 >  > 
 >  > pointed me to use "-fno-strict-aliasing" and recompile the
 >  > xorg-libs package which worked fine. Now all packages work
 >  > ok and don't crash
 >  
 >  Are you using GCC 4.1?
 >  
 >  > P.S
 >  > the xorg-libs package didn't honour CFLAGS,CXXFLAGS from
 >  > my mk.conf so i put the option in DefaultCCOptions in
 >  > NetBSD.cf
 >  
 >  Yes, known problem. Won't fix until I have the time to write a clean,
 >  portable imake ruleset.
 >  
 >  Joerg
 >  
 
 Yes, i use gcc 4.1
 I have HAVE_GCC=4 in my mk.conf but i believe it is the default gcc
 in 3.99.22 so i would use 4.1 even without the mk.conf variable