Bug 128595

Summary: Segmentation fault when building bind form source
Product: [Fedora] Fedora Reporter: Djordje Vulovic <djordjev>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-02 15:22:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Preprocessed source none

Description Djordje Vulovic 2004-07-26 21:51:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
Building bind from vanila source makes segmentation fault. I have 
tried releases 9.2.3, 9.2.1 and 9.1.3.rc3 - they all crash, on 
various files and lines. Tried to specify cc, gcc and gcc34 
compilers - all fail.

Help!

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. tar xfz bind-9.x.y.tar.gz
2. cd bind-9.x.y
3. ./configure
4. make
    

Actual Results:  gcc  -g -O2 -I/tmp/bind-9.1.3rc3 -I./include -
I./../pthreads/include -I../include -I./../include -I./..  -
D_REENTRANT    -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-
strings  -c interfaceiter.c
interfaceiter.c: In function `isc_interfaceiter_destroy':
interfaceiter.c:150: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [interfaceiter.o] Error 1

Additional info:

Comment 1 Jakub Jelinek 2004-08-02 12:43:49 UTC
Do they crash on the same file at the same spot?
The bug is not reproducible, so it is likely a hardware or OS problem.
in the error output doesn't suggest that.
If it is not reproduceable always on the same file, the problem
is almost certainly in your hardware.

Comment 2 Djordje Vulovic 2004-08-02 13:35:35 UTC
As I have seen, certain version of bind always crashes on the same 
file (for example lib/isc/unix/entropy.c in version 91.3.rc) but not 
always on the same spot. 

For example, this is the most common error:

gcc  -g -O2 -I/tmp/bind-9.1.3rc3 -I./include -I./../pthreads/include -
I../include -I./../include -I./..  -D_REENTRANT    -W -Wall -Wmissing-
prototypes -Wcast-qual -Wwrite-strings  -c entropy.c
entropy.c: In function `isc_entropy_getdata':
entropy.c:768: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc7OE90O.out file, please attach 
this to your bugreport.
make[3]: *** [entropy.o] Error 1

I'll attach file with the preprocessed source.


Comment 3 Djordje Vulovic 2004-08-02 13:36:57 UTC
Created attachment 102352 [details]
Preprocessed source

Comment 4 Jakub Jelinek 2004-08-02 15:22:10 UTC
gcc -g -O2 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -S -xc cc7OE90O.out
certainly doesn't crash for me with gcc-3.3.3-7.