Problem building libstdc++ for the avr target

Vladimir V vv.os.swe@gmail.com
Wed Dec 9 00:28:58 GMT 2020


Thank you.
I am verifying my patch with the upstream version now.

пн, 7 дек. 2020 г. в 21:32, Jonathan Wakely <jwakely@redhat.com>:

> On 07/12/20 20:30 +0000, Jonathan Wakely wrote:
> >On 07/12/20 18:32 +0100, Vladimir V via Libstdc++ wrote:
> >>Dear libstdc++ developers,
> >>
> >>I have recently experimented with building 'hosted' variant of the
> >>libstdc++ for the avr target.
> >>Practically, it looks like, after minor extension of the avr-libc, it can
> >>be built.
> >>Unfortunately, as a temporary workaround I had to disable dlopen test in
> >>the configure script as I encountered the error:
> >>
> >>'checking for shl_load... configure: error: Link tests are not allowed
> >>after GCC_NO_EXECUTABLES'
> >>
> >>while building with '--with-avrlibc' flag. The issue is described in
> >>https://gcc.gnu.org/legacy-ml/gcc/2008-03/msg00515.html
> >>and was resolved for the newlib. The fix was not applied for the avr-libc
> >>targets although the rationale behind the solution
> >>seems to be applicable there as well. I would like to ask what do you
> think
> >>about extending the scope of the solution to work
> >>with avr-libc based builds as well?
> >
> >Yes, I think it makes sense.
>
> I forgot to add that be95b3555aa82872565a1e1ea85ff826a20c8e2e was the
> commit that added the check for ${with_newlib}.
>
>
>


More information about the Libstdc++ mailing list