Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 16470

Summary: Programs built with gcc no longer run on a remote server
Product: [Retired] Red Hat Raw Hide Reporter: Need Real Name <101355.471>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED DEFERRED QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-17 20:39:25 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:

Description Need Real Name 2000-08-17 20:39:23 UTC
I have moved to the very latest Red Hat gcc-2.96-52 along with, cpp and
libstdc++

I have a simple web page renderer written in C. Building this single file
program with this latest gcc results in it NOT executing on the remote
server !
Well to be more accurate I don't know if it is not running or just not
outputing anything ! It is neither writing to stdout nor to a file, that's
for
sure !

It runs locally, not in a server domain, I mean just running it from the
command line and watching the HTML spewing out into the console. 

I was running gcc-2.95-9.2mdk, which worked fine. But I have also seen
these
symptoms with a Mandrake version, I can't however remember which one.

What could have been done to gcc that allows programs to run locally but
not
when called via a script on a remote Apache server

Any help would be appreciated since it is a real pain having to switch
compilers !

Thanks, 
Owen

Comment 1 Jakub Jelinek 2000-08-25 18:47:29 UTC
Without a testcase I cannot do really anything about it.
Please reopen if you have a self-contained testcase which triggers
some miscompilation in gcc.
Try compiling with -O0 to see if it cures it (if it does, then please
track it down to a particular .c file which causes it not to work even
when all other files are compiled with -On n>=1), if not, try compiling
it with some older gcc (like egcs from RH6.2) and similarly mix objects
up to see which one if compiled by egcs and all others are compiled by gcc
makes the bug go away.