[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015575: papi: ftbfs with LTO (link time optimization) enabled

Control: tag -1 pending

Header of the upstream patch that fixed this issue:

From: William Cohen <wcohen@redhat.com>
Date: Tue, 15 Jun 2021 21:48:15 -0400
Subject: [PATCH] Use numeric local labels to allow compilation with LTO

Some assembly snippets in instructions_testcode.c used regular label
names.  Unfortunately, when multiple copies of the snippets are
inlined in different places with LTO enabled the multiple copies of a
label by the same name cause the build to fail because of the
redefinition of the label.  To avoid this problem all those labels
have been converted to numeric local labels to allow multiple copies
to peacefully coexist in the LTO enabled code.


Reply to: