This problem still exists on binutils 2.33 when -fvisibility=hidden is
passed to cflags. I imagine this is so due to some conflicting code
where the forced B.W is only generated for static functions, since non-
static ones will be relocated differently, but then because of
-fvisibility=hidden, they get treated like statics, only B is used
instead of the forced B.W, causing this issue to crop up again.

OpenWRT experienced this when including WireGuard on a new board. I
fixed it like this: https://git.zx2c4.com/wireguard-linux-
compat/commit/?id=178cdfffb99f2fd6fb4a5bfd2f9319461d93f53b

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

Title:
  gas may assemble b to locally-defined, preemptible global symbol as
  "b.n"

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/725126/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
  • [Bug 725126] Jason A. Donenfeld

Reply via email to