[Webkit-unassigned] [Bug 229491] New: postprocess-asm/resolve-asm-file-conflicts.rb build failure with GCC 11.1.0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 25 02:16:40 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=229491
Bug ID: 229491
Summary: postprocess-asm/resolve-asm-file-conflicts.rb build
failure with GCC 11.1.0
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aperez at igalia.com
Today trying to build WebKitGTK 2.33.3 with GCC 11.1.0 this error was produced
(reformatted for clarity):
Source/JavaScriptCore/CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.s: Assembler messages:
Source/JavaScriptCore/CMakeFiles/LowLevelInterpreterLib.dir/llint/LowLevelInterpreter.cpp.s:114513:
Error: file table slot 1 is already occupied by a different file
(/home/aperez/webkitgtk-2.33.3/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp vs
/home/aperez/webkitgtk-2.33.3/build-gtk//home/aperez/webkitgtk-2.33.3/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp)
While this was building 2.33.3, currently the “resolve-asm-conflicts.rb” script
is the same in trunk, so we have the issue there as well.
I got past the issue with the following, but I think it's not a correct solution
at all:
--- /home/aperez/WebKit/Source/JavaScriptCore/Scripts/resolve-asm-file-conflicts.rb 2021-03-25 16:41:56.741540337 +0200
+++ ./Source/JavaScriptCore/Scripts/resolve-asm-file-conflicts.rb 2021-08-25 12:07:38.225428021 +0300
@@ -86,8 +87,10 @@
if not @s.eos?
return ParseResultError.new("Expected end of line after #{ret2.str}")
end
- return ParseResultSuccess.new((Pathname.new(ret1.str) / ret2.str).cleanpath.to_s)
+ # return ParseResultSuccess.new((Pathname.new(ret1.str) / ret2.str).cleanpath.to_s)
+ return ParseResultSuccess.new(Pathname.new(ret1.str).cleanpath.to_s)
end
+
def parse_string_literal
if @s.scan(/"/).nil?
err = "Expected string literal at `#{@s.string}` (pos #{@s.pos})"
@@ -395,7 +399,7 @@
# First, make sure our tests still pass. This only takes a fraction of
# our runtime and ensures the tests will get run by anyone trying out
# changes to this file.
-selftest
+# selftest
if ARGV.size != 2
$stderr.puts("Usage: #{$0} input output")
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210825/8cac0724/attachment-0001.htm>
More information about the webkit-unassigned
mailing list