Message ID | 20230623094223.3742673-1-fberat@redhat.com |
---|---|
Headers | show |
Series | Allow glibc to be built with _FORTIFY_SOURCE | expand |
On 2023-06-23 05:42, Frédéric Bérat wrote: > Hello, > > This patch series introduces a new "--enable-fortify-source" option to glibc > build. This option may either be set to a value between 1 and 3, or left empty > to let configure select the highest value available for the build system. > > The first patch adds the new configure option, the second excludes the routines > that can't be built with the option enabled. > > The next patches are fixing test and compilation errors that arose with > fortification enabled. > > I couldn't test the patch series in all configuration possible on all arches > possible but I ran the following: > > - build-many-glibcs was executed on x86_64, for all arches/variants. This was > mainly done to ensure that installed headers were not broken (as some > patches are modifying system headers) > - The new "enable-fortify-source" variant for BMG got executed on x86_64 > - make check and benchtests were executed on x86_64, i686, ppc64le, aarch64, > s390x, with and without fortification enabled. > Patchwork CI seems to indicate that check-localplt is failing on arm/aarch64. Could you please take a closer look? https://patchwork.sourceware.org/project/glibc/patch/20230623094223.3742673-15-fberat@redhat.com/ Thanks, Sid
On Mon, Jun 26, 2023 at 3:08 PM Siddhesh Poyarekar <siddhesh@gotplt.org> wrote: > > On 2023-06-23 05:42, Frédéric Bérat wrote: > > Hello, > > > > This patch series introduces a new "--enable-fortify-source" option to glibc > > build. This option may either be set to a value between 1 and 3, or left empty > > to let configure select the highest value available for the build system. > > > > The first patch adds the new configure option, the second excludes the routines > > that can't be built with the option enabled. > > > > The next patches are fixing test and compilation errors that arose with > > fortification enabled. > > > > I couldn't test the patch series in all configuration possible on all arches > > possible but I ran the following: > > > > - build-many-glibcs was executed on x86_64, for all arches/variants. This was > > mainly done to ensure that installed headers were not broken (as some > > patches are modifying system headers) > > - The new "enable-fortify-source" variant for BMG got executed on x86_64 > > - make check and benchtests were executed on x86_64, i686, ppc64le, aarch64, > > s390x, with and without fortification enabled. > > > > Patchwork CI seems to indicate that check-localplt is failing on > arm/aarch64. Could you please take a closer look? > > https://patchwork.sourceware.org/project/glibc/patch/20230623094223.3742673-15-fberat@redhat.com/ > Hmm, I'm failing to reproduce these failures ... Any way I could get the elf/check-localplt.out output out of Jenkins ? > Thanks, > Sid >
On Mon, Jun 26, 2023 at 5:28 PM Frederic Berat <fberat@redhat.com> wrote: > On Mon, Jun 26, 2023 at 3:08 PM Siddhesh Poyarekar <siddhesh@gotplt.org> > wrote: > > > > On 2023-06-23 05:42, Frédéric Bérat wrote: > > > Hello, > > > > > > This patch series introduces a new "--enable-fortify-source" option to > glibc > > > build. This option may either be set to a value between 1 and 3, or > left empty > > > to let configure select the highest value available for the build > system. > > > > > > The first patch adds the new configure option, the second excludes the > routines > > > that can't be built with the option enabled. > > > > > > The next patches are fixing test and compilation errors that arose with > > > fortification enabled. > > > > > > I couldn't test the patch series in all configuration possible on all > arches > > > possible but I ran the following: > > > > > > - build-many-glibcs was executed on x86_64, for all arches/variants. > This was > > > mainly done to ensure that installed headers were not broken (as > some > > > patches are modifying system headers) > > > - The new "enable-fortify-source" variant for BMG got executed on > x86_64 > > > - make check and benchtests were executed on x86_64, i686, ppc64le, > aarch64, > > > s390x, with and without fortification enabled. > > > > > > > Patchwork CI seems to indicate that check-localplt is failing on > > arm/aarch64. Could you please take a closer look? > > > > > https://patchwork.sourceware.org/project/glibc/patch/20230623094223.3742673-15-fberat@redhat.com/ > > > > Hmm, I'm failing to reproduce these failures ... Any way I could get > the elf/check-localplt.out output out of Jenkins ? > > Thanks to Maxim Kuvyrkov I could reproduce the problem. I'll send the fixes in v3. > > Thanks, > > Sid > > >