Issue 87654
Summary llvm-ranlib: -V option not supported (used by configure tests)
Labels tools:llvm-ar/llvm-ranlib
Assignees
Reporter emaste
    Found while trying to build the FreeBSD ports collection with LLVM's binutils installed (instead of ELF Tool Chain).
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258872

games/ponscripter-07th-mod uses `ranlib -V` to test for the presence of ranlib, but we report an unsupported option error and the test fails

```
    $echo_n "Checking for ranlib... ${nobr}"
    if ($RANLIB -V >/dev/null) 2>/dev/null
    then
        echo $RANLIB
    else
 RANLIB=granlib
        if ($RANLIB -V >/dev/null) 2>/dev/null
 then echo $RANLIB
        else echo "not found"
             echo "Unable to locate ranlib. If it's installed, try setting the environment variable RANLIB appropriately. (If your platform does not need ranlib, just set RANLIB=true.)"
             exit 1
        fi
    fi
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to