[LLVMbugs] [Bug 17527] New: Build scripts assume availability of GNU tools (grep, tr, sed, etc)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 9 15:31:12 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17527

            Bug ID: 17527
           Summary: Build scripts assume availability of GNU tools (grep,
                    tr, sed, etc)
           Product: Build scripts
           Version: 3.2
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: autoconf
          Assignee: unassignedbugs at nondot.org
          Reporter: phantall at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The configure scripts outright use `grep`, `tr`, and a number of other tools
under the assumption they accept more modern parameters for the GNU equivalent
of those tools.

For example, when checking the linker version it attempts to execute `grep -q`
as part of the check, which fails because it isn't a valid option for sun's
`grep` command.

To name a few I've noticed that are used outright instead of through a variable
(after finding the 'right' one to use):

grep
tr
sed
head
awk

There's probably others, but I wasn't being entirely thorough.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131009/fbc8d436/attachment.html>


More information about the llvm-bugs mailing list