On Thu, Sep 22, 2016 at 10:22 AM, Christophe Lyon <christophe.l...@linaro.org> wrote: > On 22 September 2016 at 15:01, Jason Merrill <ja...@redhat.com> wrote: >> On Thu, Sep 22, 2016 at 4:58 AM, Christophe Lyon >> <christophe.l...@linaro.org> wrote: >>> This new test (aligned-new6.C) fails on arm/aarch64 bare-metal targets >>> (using newlib): >>> arm-none-eabi/./libstdc++-v3/src/.libs/libstdc++.a(new_opa.o): In >>> function `operator new(unsigned int, std::align_val_t)': >>> /gccsrc/libstdc++-v3/libsupc++/new_opa.cc:76: undefined reference to >>> `aligned_alloc' >> >> Hmm, does this fix that? > > Yes. (I tested on arm only)
Great, applied. Jason