oss4 does not build on ppc64el on groovy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
oss4 (Ubuntu) |
Fix Released
|
Medium
|
Thadeu Lima de Souza Cascardo |
Bug Description
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_
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/
--- lib/libsalsa/
+++ lib/libsalsa/
@@ -35,7 +35,7 @@
__asm__ (".symver ." #real ",." #name "@" #version)
# define default_
__asm__ (".symver " #real "," #name "@@" #version); \
- __asm__ (".symver ." #real ",." #name "@@" #version)
+// __asm__ (".symver ." #real ",." #name "@@" #version)
#else
# define symbol_
__asm__ (".symver " #real "," #name "@" #version)
Changed in oss4 (Ubuntu): | |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
importance: | Undecided → Medium |
status: | New → In Progress |
tags: | added: patch |
So, dot-symbols on powerpc are not a thing on userspace since a while (from gcc 3.4 times). And, then, I realized this header comes directly from alsa, and for a different reason, this same section has already been dropped there. So applying the same changes makes sense here.