Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787134 - sys-fs/dd-rescue-1.99.11 - /.../ld: aesni_avx.po:(.data.rel+<snip>): multiple definition of VAESNI_Methods; aesni.po:(.data.rel+<s
Summary: sys-fs/dd-rescue-1.99.11 - /.../ld: aesni_avx.po:(.data.rel+<snip>): multiple...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 788355 834075 867742 (view as bug list)
Depends on:
Blocks: 795612
  Show dependency tree
 
Reported: 2021-04-30 13:25 UTC by Toralf Förster
Modified: 2022-08-31 20:53 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.96 KB, text/plain)
2021-04-30 13:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,431.26 KB, text/plain)
2021-04-30 13:25 UTC, Toralf Förster
Details
environment (environment,87.96 KB, text/plain)
2021-04-30 13:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.77 KB, application/x-bzip)
2021-04-30 13:25 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.62 KB, application/x-bzip)
2021-04-30 13:25 UTC, Toralf Förster
Details
sys-fs:dd-rescue-1.99.11:20210430-050312.log (sys-fs:dd-rescue-1.99.11:20210430-050312.log,15.51 KB, text/plain)
2021-04-30 13:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.90 KB, application/x-bzip)
2021-04-30 13:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-04-30 13:25:07 UTC
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color  -O2   -DHAVE_CONFIG_H -I . -DHAVE_AESNI -DVERSION=\"1.99.11\"  -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 11.1.0 p1) 11.1.0\"" -DID=\"DD_RESCUE_1_99_11-7-gc263a59\"  -fPIC -o random.po -c random.c
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color  -O2   -DHAVE_CONFIG_H -I . -DHAVE_AESNI -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-rpath,/usr/lib64/dd-rescue -shared -o libddr_crypt.so libddr_crypt.po aes.po aes_c.po aesni.po aesni_avx.po pbkdf2.po sha256.po pbkdf_ossl.po md5.po checksum_file.po secmem.po random.po  
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: aesni_avx.po:(.data.rel+0x0): multiple definition of `VAESNI_Methods'; aesni.po:(.data.rel+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:298: libddr_crypt.so] Error 1
 * ERROR: sys-fs/dd-rescue-1.99.11::gentoo failed (compile phase):
 *   emake failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210419-131016

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr 30 02:07:17 UTC 2021

emerge -qpvO sys-fs/dd-rescue
[ebuild  N    ] sys-fs/dd-rescue-1.99.11  USE="xattr -lzo -static" CPU_FLAGS_X86="avx2 sse4_2"
Comment 1 Toralf Förster gentoo-dev 2021-04-30 13:25:08 UTC
Created attachment 704430 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-30 13:25:10 UTC
Created attachment 704433 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-30 13:25:11 UTC
Created attachment 704439 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-30 13:25:13 UTC
Created attachment 704442 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-30 13:25:14 UTC
Created attachment 704445 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-30 13:25:15 UTC
Created attachment 704448 [details]
sys-fs:dd-rescue-1.99.11:20210430-050312.log
Comment 7 Toralf Förster gentoo-dev 2021-04-30 13:25:16 UTC
Created attachment 704451 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-05 15:24:31 UTC
*** Bug 788355 has been marked as a duplicate of this bug. ***
Comment 9 Attila Tóth 2021-05-05 15:41:45 UTC
This failure occurs with CPU_FLAGS_X86="avx2"
Workaround: echo "sys-fs/dd-rescue -cpu_flags_x86_avx2" >> /etc/portage/package.use
Comment 10 Larry the Git Cow gentoo-dev 2021-10-16 01:59:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2ee51796b232d3eaa8834a88d6c36a9394ea7c

commit 0a2ee51796b232d3eaa8834a88d6c36a9394ea7c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-16 01:58:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-16 01:58:49 +0000

    profiles/base: mask sys-fs/dd-rescue[cpu_flags_x86_avx2]
    
    Bug: https://bugs.gentoo.org/787134
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2021-10-16 02:12:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117506024ab2ad724b0c69bc8ae3d8f1d3f09d82

commit 117506024ab2ad724b0c69bc8ae3d8f1d3f09d82
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-16 02:11:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-16 02:11:58 +0000

    profiles/base: adjust dd-rescue AVX2 mask for specific version
    
    Bug: https://bugs.gentoo.org/787134
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 12 Andreas Sturmlechner gentoo-dev 2022-08-29 20:04:14 UTC
sooo... fixed or not?
Comment 13 Larry the Git Cow gentoo-dev 2022-08-30 07:42:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e4bcef82159f63365d5922b197967e7dd7d347

commit 07e4bcef82159f63365d5922b197967e7dd7d347
Author:     Matthias Schwarzott <zzam@gentoo.org>
AuthorDate: 2022-08-30 07:32:53 +0000
Commit:     Matthias Schwarzott <zzam@gentoo.org>
CommitDate: 2022-08-30 07:38:49 +0000

    sys-fs/dd-rescue: add 1.99.12
    
    Upstream also fixed bug #787134.
    
    The patch for musl seems no longer needed.
    The macro __WORDSIZE is no longer used by dd-rescue.
    loff_t should be found via fcntl.h.
    The patch for 1.99.11 looked strange as it did not add new includes.
    
    Closes: https://bugs.gentoo.org/787134
    Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>

 sys-fs/dd-rescue/Manifest                 |   1 +
 sys-fs/dd-rescue/dd-rescue-1.99.12.ebuild | 101 ++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)
Comment 14 Matthias Schwarzott gentoo-dev 2022-08-30 07:46:28 UTC
*** Bug 834075 has been marked as a duplicate of this bug. ***
Comment 15 Mike Gilbert gentoo-dev 2022-08-31 20:53:33 UTC
*** Bug 867742 has been marked as a duplicate of this bug. ***