https://sourceware.org/bugzilla/show_bug.cgi?id=27311

Martin Liska <mliska at suse dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #15 from Martin Liska <mliska at suse dot cz> ---
I'm sorry, but the problem is still present. I reduced that from rtkit package.
Please use the very same example as mentioned in Comment 3, but use app.c:

$ cat app.c
__attribute__((visibility("hidden"))) void inlib1(void) {}
int main()
{
  return 0;
}

$ gcc app.o -L. -Wl,-rpath-link,. -l2 
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: app.o
(symbol from plugin): undefined reference to symbol 'inlib1@@LIBFOO'
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
./lib1.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to