The problem appears with a file contained in Xaw3d: xc/lib/SimpleMenu.c
After trying to link the resulting library with a program, I get an error,
saying that "L98 is undefined".
Steps to check/reproduce:
gcc -Os -fPIC -S -c -o SimpleMenu.s SimpleMenu.c
-> offending code is: leal .L98@GOTOFF(%ebx), %eax
but L98 is found nowhere
If I add -fforce-addr, the "leal" is still there, but L98 exists:
gcc -Os -fPIC -fforce-addr -S -c -o SimpleMenu.s SimpleMenu.c
This is a pure dup of bug 11350 which is not fixed yet.
*** This bug has been marked as a duplicate of 11350 ***