forked from pool/elfutils
Accepting request 834600 from home:Guillaume_G:branches:Base:System
- Disable LTO again - boo#1138796 Adding -flto-partition=none and -Wno-error=stack-usage were not enough: [ 123s] libasm-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libasm.a [ 123s] libdw-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libdw.a [ 123s] libelf-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libelf.a [ 123s] This archive does not contain a non-empty .text section. The archive was not [ 123s] created with -ffat-lto-objects option. And adding -ffat-lto-objects breaks run-show-die-info.sh test. OBS-URL: https://build.opensuse.org/request/show/834600 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=159
This commit is contained in:
parent
2fd880f1c7
commit
94fdbb55f3
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 15 11:50:27 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Disable LTO again - boo#1138796
|
||||||
|
Adding -flto-partition=none and -Wno-error=stack-usage were
|
||||||
|
not enough:
|
||||||
|
[ 123s] libasm-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libasm.a
|
||||||
|
[ 123s] libdw-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libdw.a
|
||||||
|
[ 123s] libelf-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libelf.a
|
||||||
|
[ 123s] This archive does not contain a non-empty .text section. The archive was not
|
||||||
|
[ 123s] created with -ffat-lto-objects option.
|
||||||
|
And adding -ffat-lto-objects breaks run-show-die-info.sh test.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 8 15:18:57 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Tue Sep 8 15:18:57 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ applications that require libdw.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -flto-partition=none -Wno-error=stack-usage=
|
%global _lto_cflags %{nil}
|
||||||
# Change DATE/TIME macros to use last change time of elfutils.changes
|
# Change DATE/TIME macros to use last change time of elfutils.changes
|
||||||
# See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html
|
# See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html
|
||||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||||
|
Loading…
Reference in New Issue
Block a user