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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tschwinge at gcc dot gnu.org

--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Gah, I ran into the same issue on gcc92.

I 'configure'd '--with-arch=rv64imafdc --with-abi=lp64d --enable-multilib'.

(In reply to Andrew Pinski from comment #1)
> OR multi-arch support is not in the riscv backend yet.

That seems to be the case indeed; at least I'm not seeing any 'if_multiarch'
etc. in 'gcc/config/riscv/'.


    $ find /usr/include/ -name libc-header-start.h
    /usr/include/riscv64-linux-gnu/bits/libc-header-start.h

Also, do potentially further distribution packages have to be installed, for
additional multilibs?  Like I have on an Ubuntu x86_64 GN/Linux system:

    $ find /usr/include/ -name libc-header-start.h
    /usr/include/i386-linux-gnu/bits/libc-header-start.h
    /usr/include/x86_64-linux-gnu/bits/libc-header-start.h
    $ dpkg -S /usr/include/i386-linux-gnu/bits/libc-header-start.h
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h
    libc6-dev:i386: /usr/include/i386-linux-gnu/bits/libc-header-start.h
    libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h

Reply via email to