This is the mail archive of the gcc-help@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]

Re: After building 4.5 from trunk can't run firefox


Patrick Horgan <phorgan1@yahoo.com> writes:

> On Linux dell 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC
> 2009 i686 GNU/Linux
> gcc (GCC) 4.5.0 20091224 (experimental)
> Mozilla Firefox 3.5.7pre, Copyright (c) 1998 - 2009 mozilla.org
>
> After building gcc trunk, when I tried to run firefox the next time I
> got this error:
>
> /usr/lib/firefox-3.5.7pre/firefox: error while loading shared
> libraries: libstdc++.so.6: failed to map segment from shared object:
> Permission denied

I see that this is being somehow caused by using a new version of gcc,
but I have no idea what could be causing it.  gcc creates the shared
libraries in the usual way, and an ordinary shared library should not
fail with an EACCES error.  I have no idea what could cause that.

You may get farther if you ask people familiar with GNU/Linux or with
the dynamic linker, which on Debian is part of glibc or eglibc.

Ian


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