openSuSE 11.4 support failure


On May 22, 2011 Ismail sent in a patch to update openSuSE support for clang:

I'm running openSuSE 11.4 and the "--dynamic-tags" switch causes "ld" to fail:

[trevor@devel-suse64 clang]$ cat main.c
#include <stdio.h>

main (int argc, char *argv)
        printf ("Hello, world!\n");
        return 0;
[trevor@devel-suse64 clang]$ clang main.c
unrecognized option '--dynamic-tags'
use the --help option for usage information
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[trevor@devel-suse64 clang]$

I wonder why it fails for me but not for Ismail?

[trevor@devel-suse64 clang]$ which ld
[trevor@devel-suse64 clang]$ ld --version
GNU ld (GNU Binutils; openSUSE 11.4) 2.21
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
[trevor@devel-suse64 clang]$ uname -a
Linux devel-suse64 #1 SMP PREEMPT 2011-04-25
21:48:33 +0200 x86_64 x86_64 x86_64 GNU/Linux

Best regards,


Awesome! Thanks for the quick response.
It's great to see someone is keeping on top of openSuSE support :slight_smile: