Public bug reported:

When building the focal version of oss4 with groovy version of binutils,
it fails with:

/tmp/ccoZchTf.s: Assembler messages:
/tmp/ccoZchTf.s: Error: invalid attempt to declare external version name as 
default in symbol `.snd_pcm_hw_params_set_rate_near@@ALSA_0.9.0rc4'
make[1]: *** [Makefile:16: pcm.lo] Error 1

Downgrading binutils to 2.34-6ubuntu1 fixes the problem. This works with
gcc-9 9.3.0-10ubuntu2. Upgrading to groovy gcc-9 9.3.0-17ubuntu1 will
force the upgrade of binutils, so can't be tested with the working
version of binutils. Using the latest version of gcc-9 or gcc-10 from
groovy with the broken binutils is still broken, so a complete upgrade
does not fix the problem.

The following diff does fix the problem with binutils 2.35-2ubuntu1, though:
$ diff -u lib/libsalsa/alsa-symbols.h.old lib/libsalsa/alsa-symbols.h
--- lib/libsalsa/alsa-symbols.h.old     2020-08-13 22:47:28.249358919 +0000
+++ lib/libsalsa/alsa-symbols.h 2020-08-13 22:43:35.730423956 +0000
@@ -35,7 +35,7 @@
        __asm__ (".symver ." #real ",." #name "@" #version)
 # define default_symbol_version(real, name, version)           \
        __asm__ (".symver " #real "," #name "@@" #version);     \
-       __asm__ (".symver ." #real ",." #name "@@" #version)
+//     __asm__ (".symver ." #real ",." #name "@@" #version)
 #else
 # define symbol_version(real, name, version) \
        __asm__ (".symver " #real "," #name "@" #version)

** Affects: oss4 (Ubuntu)
     Importance: Medium
     Assignee: Thadeu Lima de Souza Cascardo (cascardo)
         Status: In Progress

** Changed in: oss4 (Ubuntu)
     Assignee: (unassigned) => Thadeu Lima de Souza Cascardo (cascardo)

** Changed in: oss4 (Ubuntu)
   Importance: Undecided => Medium

** Changed in: oss4 (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891565

Title:
  oss4 does not build on ppc64el on groovy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/1891565/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to