https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69839

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Joakim Tjernlund from comment #8)
> > That is correct.
> 
> hmm, this feels a bit odd. Using

I'm not the author of --sysroot changes, but I'd say that it is again user
error:

> sudo /usr/powerpc-g2.20-linux-gnu/sbin/ldconfig -v  -C
> /usr/powerpc-g2.20-linux-gnu/etc/ld.so.cache -f
> /usr/powerpc-g2.20-linux-gnu/etc/ld.so.conf

If you have sysrooted file, you should use .../ldconfig -r
/usr/powerpc-g2.20-linux-gnu/ ...
(of course only if you actually can run the binaries, in most cases you are
cross-compiling for incompatible architecture and you need either emulator, or
can't run it at all).
Anyway, I don't think gcc bugzilla is the right forum to learn about sysroots.

Reply via email to