[Bug 1891565] Re: oss4 does not build on ppc64el on groovy
Thadeu Lima de Souza Cascardo
1891565 at bugs.launchpad.net
Fri Aug 14 21:30:15 UTC 2020
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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1891565
Title:
oss4 does not build on ppc64el on groovy
Status in binutils package in Ubuntu:
New
Status in oss4 package in Ubuntu:
In Progress
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_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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1891565/+subscriptions
More information about the foundations-bugs
mailing list