This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/14019] fortran if statement with .and. causes optimizer to produce wrong code


------- Additional Comments From mmrashid at ucdavis dot edu  2004-02-07 01:31 -------
Subject: Re:  fortran if statement with .and. causes optimizer to produce wrong code

Thanks.  I tried that - no help (although you'd think it would).  Turns out 
the fix is simply to run ldconfig as root.  The install of gcc updates the 
/etc/ld.so.conf file, but it doesn't then run ldconfig.  So, at run time 
there's no hope of finding any new shared objects.  Linking with static works 
too as you say, but the executable file is huge.




On Thursday 05 February 2004 17:07, you wrote:
> ------- Additional Comments From dhazeghi at yahoo dot com  2004-02-06
> 01:07 ------- Sounds as if you need to add /usr/local/lib to
> LD_LIBRARY_PATH. So if you're using bash, you do something like:
> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
>
> Alternatively, you can probably link with -static...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14019


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]