[Webkit-unassigned] [Bug 130523] Need target to produce llvm ir

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 4 20:26:19 PDT 2014


--- Comment #43 from Darin Adler <darin at apple.com>  2014-05-04 20:26:39 PST ---
(From update of attachment 229079)
View in context: https://bugs.webkit.org/attachment.cgi?id=229079&action=review

> Source/JavaScriptCore/build-symbol-table-index.py:43
> +for bitcode_file in glob.iglob(os.path.join(framework_directory, "*." + file_suffix)):
> +    bitcode_basename = os.path.basename(bitcode_file)
> +    binary_file = os.path.join(binary_file_directory, bitcode_basename[:-file_suffix_length] + "o")
> +    if os.path.getmtime(binary_file) < symbol_table_modification_time:
> +        continue

Something here is failing every time I compile:

Traceback (most recent call last):
  File "/Users/darin/Safari/OpenSource/Source/JavaScriptCore/build-symbol-table-index.py", line 42, in <module>
    if os.path.getmtime(binary_file) < symbol_table_modification_time:
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: '/Users/darin/Build/JavaScriptCore.build/Debug/JavaScriptCore.build/Objects-normal/x86_64/*.o'

I don’t think that call to glob.iglob is turning "*.o" into actual file names.

But are files that match that glob on my computer. That’s the correct path.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list