Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue rolling the latest version to the sdk repo #133

Closed
devoncarew opened this issue Sep 14, 2023 · 3 comments
Closed

issue rolling the latest version to the sdk repo #133

devoncarew opened this issue Sep 14, 2023 · 3 comments
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@devoncarew
Copy link
Member

I don't know if this is the same issue as previously or a subsequent one, but we're seeing an issue on the roll:

for `pkg-linux-release-try` ``` /============================================================================================\ | native_toolchain_c/test/cbuilder/cbuilder_test broke (Pass -> RuntimeError, expected Pass) | \============================================================================================/

--- Command "vm" (took 14.000993s):
DART_CONFIGURATION=ReleaseX64 CHROME_PATH=/b/s/w/ir/cache/builder/sdk/third_party/browsers/chrome/chrome/google-chrome out/ReleaseX64/dart-sdk/bin/dart --enable_asserts --sound-null-safety -Dtest_runner.configuration=unittest-asserts-release-linux --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.dart_tool/package_config.json /b/s/w/ir/cache/builder/sdk/third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/cbuilder_test.dart

exit code:
255

stdout:
00:00 �[32m+0�[0m: Langauge.toString�[0m

00:00 �[32m+1�[0m: CBuilder executable (debug, auto_pic)�[0m

00:00 �[32m+2�[0m: CBuilder executable (release, auto_pic)�[0m

00:00 �[32m+3�[0m: CBuilder dylib (dry_run, auto_pic)�[0m

00:00 �[32m+4�[0m: CBuilder dylib (auto_pic)�[0m

00:01 �[32m+5�[0m: CBuilder executable (debug, pic)�[0m

00:01 �[32m+6�[0m: CBuilder executable (release, pic)�[0m

00:01 �[32m+7�[0m: CBuilder dylib (dry_run, pic)�[0m

00:01 �[32m+8�[0m: CBuilder dylib (pic)�[0m

00:02 �[32m+9�[0m: CBuilder executable (debug, no_pic)�[0m

00:02 �[32m+10�[0m: CBuilder executable (release, no_pic)�[0m

00:02 �[32m+11�[0m: CBuilder dylib (dry_run, no_pic)�[0m

00:02 �[32m+12�[0m: CBuilder dylib (no_pic)�[0m

00:02 �[32m+13�[0m: CBuilder build mode defines (debug, enabled)�[0m

00:03 �[32m+14�[0m: CBuilder build mode defines (debug, disabled)�[0m

00:03 �[32m+15�[0m: CBuilder build mode defines (release, enabled)�[0m

00:03 �[32m+16�[0m: CBuilder build mode defines (release, disabled)�[0m

00:03 �[32m+17�[0m: CBuilder define (with_value)�[0m

00:03 �[32m+18�[0m: CBuilder define (without_value)�[0m

00:04 �[32m+19�[0m: CBuilder flags�[0m

00:04 �[32m+20�[0m: CBuilder includes�[0m

00:04 �[32m+21�[0m: CBuilder std�[0m

00:04 �[32m+22�[0m: CBuilder compile c++�[0m

00:06 �[32m+22�[0m�[31m -1�[0m: CBuilder compile c++ �[1m�[31m[E]�[0m�[0m

ProcessException: Full command string: '/b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang -fno-PIC -fno-PIE -z notext -x c++ -l stdc++ -DRELEASE -DNDEBUG /b/s/w/ir/cache/builder/sdk/third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/testfiles/hello_world_cpp/src/hello_world_cpp.cc -o /b/s/w/ir/x/t/DJIJPG/hello_world_cpp'.
Exit code: '1'.
For the output of the process check the logger output.
Command: /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang -fno-PIC -fno-PIE -z notext -x c++ -l stdc++ -DRELEASE -DNDEBUG /b/s/w/ir/cache/builder/sdk/third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/testfiles/hello_world_cpp/src/hello_world_cpp.cc -o /b/s/w/ir/x/t/DJIJPG/hello_world_cpp

package:native_toolchain_c/src/utils/run_process.dart 92:5 runProcess
===== asynchronous gap ===========================
package:native_toolchain_c/src/cbuilder/run_cbuilder.dart 126:5 RunCBuilder.runClangLike
===== asynchronous gap ===========================
package:native_toolchain_c/src/cbuilder/run_cbuilder.dart 107:7 RunCBuilder.run
===== asynchronous gap ===========================
package:native_toolchain_c/src/cbuilder/cbuilder.dart 246:7 CBuilder.run
===== asynchronous gap ===========================
third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/cbuilder_test.dart 401:5 main.
===== asynchronous gap ===========================
package:test_api/src/backend/declarer.dart 215:9 Declarer.test..
===== asynchronous gap ===========================
package:test_api/src/backend/declarer.dart 213:7 Declarer.test.
===== asynchronous gap ===========================
package:test_api/src/backend/invoker.dart 258:9 Invoker._waitForOutstandingCallbacks.

FINER: 2023-09-14 09:35:48.703602: Using compiler /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang from config[c_compiler.cc].

FINER: 2023-09-14 09:35:48.703886: Trying to recognize file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang.

INFO: 2023-09-14 09:35:48.703989: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang --version.

FINE: 2023-09-14 09:35:48.730770: Fuchsia clang version 17.0.0 (https://llvm.googlesource.com/llvm-project 6d667d4b261e81f325756fdfd5bb43b3b3d2451d)

FINE: 2023-09-14 09:35:48.731153: Target: x86_64-unknown-linux-gnu

FINE: 2023-09-14 09:35:48.731316: Thread model: posix

FINE: 2023-09-14 09:35:48.731451: InstalledDir: /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin

FINE: 2023-09-14 09:35:48.733223: Tool instance file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang is likely Tool(Clang).

FINER: 2023-09-14 09:35:48.733445: Looking up version with --version for ToolInstance(Clang, null, file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang).

INFO: 2023-09-14 09:35:48.733647: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang --version.

FINE: 2023-09-14 09:35:48.763285: Fuchsia clang version 17.0.0 (https://llvm.googlesource.com/llvm-project 6d667d4b261e81f325756fdfd5bb43b3b3d2451d)

FINE: 2023-09-14 09:35:48.763879: Target: x86_64-unknown-linux-gnu

FINE: 2023-09-14 09:35:48.764012: Thread model: posix

FINE: 2023-09-14 09:35:48.764107: InstalledDir: /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin

FINE: 2023-09-14 09:35:48.765945: Found version for ToolInstance(Clang, 17.0.0, file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang).

INFO: 2023-09-14 09:35:48.767082: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang -fno-PIC -fno-PIE -z notext -x c++ -l stdc++ -DRELEASE -DNDEBUG /b/s/w/ir/cache/builder/sdk/third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/testfiles/hello_world_cpp/src/hello_world_cpp.cc -o /b/s/w/ir/x/t/DJIJPG/hello_world_cpp.

SEVERE: 2023-09-14 09:35:50.811588: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:50.811985: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-797995.o

SEVERE: 2023-09-14 09:35:50.812048: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:50.812105: >>> /b/s/w/ir/x/t/hello_world_cpp-797995.o:(.eh_frame+0xD939)

SEVERE: 2023-09-14 09:35:50.812416:

SEVERE: 2023-09-14 09:35:50.812500: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:50.812560: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-797995.o

SEVERE: 2023-09-14 09:35:50.812618: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:50.812716: >>> /b/s/w/ir/x/t/hello_world_cpp-797995.o:(.eh_frame+0xD961)

SEVERE: 2023-09-14 09:35:50.812880:

SEVERE: 2023-09-14 09:35:50.812950: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:50.813009: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-797995.o

SEVERE: 2023-09-14 09:35:50.813090: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:50.813156: >>> /b/s/w/ir/x/t/hello_world_cpp-797995.o:(.eh_frame+0xD989)

SEVERE: 2023-09-14 09:35:50.813304:

SEVERE: 2023-09-14 09:35:50.813528: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:50.814261: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-797995.o

SEVERE: 2023-09-14 09:35:50.814509: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:50.814664: >>> /b/s/w/ir/x/t/hello_world_cpp-797995.o:(.eh_frame+0xD9B1)

SEVERE: 2023-09-14 09:35:50.814916:

SEVERE: 2023-09-14 09:35:50.815179: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:50.815341: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-797995.o

SEVERE: 2023-09-14 09:35:50.815446: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:50.815550: >>> /b/s/w/ir/x/t/hello_world_cpp-797995.o:(.eh_frame+0xD9D9)

SEVERE: 2023-09-14 09:35:50.819750: clang: error: linker command failed with exit code 1 (use -v to see invocation)

00:06 �[32m+22�[0m�[31m -1�[0m: CBuilder cppLinkStdLib�[0m

00:06 �[32m+22�[0m�[31m -1�[0m: CBuilder compile c++�[0m

FINER: 2023-09-14 09:35:50.858603: Using compiler /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang from config[c_compiler.cc].

FINER: 2023-09-14 09:35:50.859030: Trying to recognize file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang.

INFO: 2023-09-14 09:35:50.859383: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang --version.

FINE: 2023-09-14 09:35:50.887976: Fuchsia clang version 17.0.0 (https://llvm.googlesource.com/llvm-project 6d667d4b261e81f325756fdfd5bb43b3b3d2451d)

FINE: 2023-09-14 09:35:50.889038: Target: x86_64-unknown-linux-gnu

FINE: 2023-09-14 09:35:50.889213: Thread model: posix

FINE: 2023-09-14 09:35:50.889346: InstalledDir: /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin

FINE: 2023-09-14 09:35:50.891643: Tool instance file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang is likely Tool(Clang).

FINER: 2023-09-14 09:35:50.892069: Looking up version with --version for ToolInstance(Clang, null, file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang).

INFO: 2023-09-14 09:35:50.893125: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang --version.

FINE: 2023-09-14 09:35:50.921416: Fuchsia clang version 17.0.0 (https://llvm.googlesource.com/llvm-project 6d667d4b261e81f325756fdfd5bb43b3b3d2451d)

FINE: 2023-09-14 09:35:50.922054: Target: x86_64-unknown-linux-gnu

FINE: 2023-09-14 09:35:50.922142: Thread model: posix

FINE: 2023-09-14 09:35:50.922211: InstalledDir: /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin

FINE: 2023-09-14 09:35:50.923904: Found version for ToolInstance(Clang, 17.0.0, file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang).

INFO: 2023-09-14 09:35:50.924734: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang -fno-PIC -fno-PIE -z notext -x c++ -l stdc++ -DRELEASE -DNDEBUG /b/s/w/ir/cache/builder/sdk/third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/testfiles/hello_world_cpp/src/hello_world_cpp.cc -o /b/s/w/ir/x/t/OMMIQZ/hello_world_cpp.

SEVERE: 2023-09-14 09:35:52.047245: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.048070: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.048268: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.048415: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD939)

SEVERE: 2023-09-14 09:35:52.048668:

SEVERE: 2023-09-14 09:35:52.048823: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.049016: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.049171: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.049299: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD961)

SEVERE: 2023-09-14 09:35:52.049482:

SEVERE: 2023-09-14 09:35:52.050300: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.050553: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.050697: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.050804: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD989)

SEVERE: 2023-09-14 09:35:52.050879:

SEVERE: 2023-09-14 09:35:52.050948: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.051037: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.051103: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.051185: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD9B1)

SEVERE: 2023-09-14 09:35:52.051248:

SEVERE: 2023-09-14 09:35:52.051339: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.051407: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.051468: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.051529: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD9D9)

SEVERE: 2023-09-14 09:35:52.054473: clang: error: linker command failed with exit code 1 (use -v to see invocation)

00:07 �[32m+22�[0m�[31m -2�[0m: CBuilder cppLinkStdLib �[1m�[31m[E]�[0m�[0m

ProcessException: Full command string: '/b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang -fno-PIC -fno-PIE -z notext -x c++ -l stdc++ -DRELEASE -DNDEBUG /b/s/w/ir/cache/builder/sdk/third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/testfiles/hello_world_cpp/src/hello_world_cpp.cc -o /b/s/w/ir/x/t/OMMIQZ/hello_world_cpp'.
Exit code: '1'.
For the output of the process check the logger output.
Command: /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang -fno-PIC -fno-PIE -z notext -x c++ -l stdc++ -DRELEASE -DNDEBUG /b/s/w/ir/cache/builder/sdk/third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/testfiles/hello_world_cpp/src/hello_world_cpp.cc -o /b/s/w/ir/x/t/OMMIQZ/hello_world_cpp

package:native_toolchain_c/src/utils/run_process.dart 92:5 runProcess
===== asynchronous gap ===========================
package:native_toolchain_c/src/cbuilder/run_cbuilder.dart 126:5 RunCBuilder.runClangLike
===== asynchronous gap ===========================
package:native_toolchain_c/src/cbuilder/run_cbuilder.dart 107:7 RunCBuilder.run
===== asynchronous gap ===========================
package:native_toolchain_c/src/cbuilder/cbuilder.dart 246:7 CBuilder.run
===== asynchronous gap ===========================
third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/cbuilder_test.dart 469:7 main.
===== asynchronous gap ===========================
package:test_api/src/backend/declarer.dart 215:9 Declarer.test..
===== asynchronous gap ===========================
package:test_api/src/backend/declarer.dart 213:7 Declarer.test.
===== asynchronous gap ===========================
package:test_api/src/backend/invoker.dart 258:9 Invoker._waitForOutstandingCallbacks.

FINER: 2023-09-14 09:35:50.858603: Using compiler /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang from config[c_compiler.cc].

FINER: 2023-09-14 09:35:50.859030: Trying to recognize file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang.

INFO: 2023-09-14 09:35:50.859383: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang --version.

FINE: 2023-09-14 09:35:50.887976: Fuchsia clang version 17.0.0 (https://llvm.googlesource.com/llvm-project 6d667d4b261e81f325756fdfd5bb43b3b3d2451d)

FINE: 2023-09-14 09:35:50.889038: Target: x86_64-unknown-linux-gnu

FINE: 2023-09-14 09:35:50.889213: Thread model: posix

FINE: 2023-09-14 09:35:50.889346: InstalledDir: /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin

FINE: 2023-09-14 09:35:50.891643: Tool instance file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang is likely Tool(Clang).

FINER: 2023-09-14 09:35:50.892069: Looking up version with --version for ToolInstance(Clang, null, file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang).

INFO: 2023-09-14 09:35:50.893125: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang --version.

FINE: 2023-09-14 09:35:50.921416: Fuchsia clang version 17.0.0 (https://llvm.googlesource.com/llvm-project 6d667d4b261e81f325756fdfd5bb43b3b3d2451d)

FINE: 2023-09-14 09:35:50.922054: Target: x86_64-unknown-linux-gnu

FINE: 2023-09-14 09:35:50.922142: Thread model: posix

FINE: 2023-09-14 09:35:50.922211: InstalledDir: /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin

FINE: 2023-09-14 09:35:50.923904: Found version for ToolInstance(Clang, 17.0.0, file:///b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang).

INFO: 2023-09-14 09:35:50.924734: Running /b/s/w/ir/cache/builder/sdk/buildtools/linux-x64/clang/bin/clang -fno-PIC -fno-PIE -z notext -x c++ -l stdc++ -DRELEASE -DNDEBUG /b/s/w/ir/cache/builder/sdk/third_party/pkg/native/pkgs/native_toolchain_c/test/cbuilder/testfiles/hello_world_cpp/src/hello_world_cpp.cc -o /b/s/w/ir/x/t/OMMIQZ/hello_world_cpp.

SEVERE: 2023-09-14 09:35:52.047245: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.048070: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.048268: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.048415: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD939)

SEVERE: 2023-09-14 09:35:52.048668:

SEVERE: 2023-09-14 09:35:52.048823: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.049016: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.049171: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.049299: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD961)

SEVERE: 2023-09-14 09:35:52.049482:

SEVERE: 2023-09-14 09:35:52.050300: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.050553: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.050697: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.050804: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD989)

SEVERE: 2023-09-14 09:35:52.050879:

SEVERE: 2023-09-14 09:35:52.050948: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.051037: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.051103: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.051185: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD9B1)

SEVERE: 2023-09-14 09:35:52.051248:

SEVERE: 2023-09-14 09:35:52.051339: ld.lld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

SEVERE: 2023-09-14 09:35:52.051407: >>> defined in /b/s/w/ir/x/t/hello_world_cpp-5efcad.o

SEVERE: 2023-09-14 09:35:52.051468: >>> referenced by hello_world_cpp.cc

SEVERE: 2023-09-14 09:35:52.051529: >>> /b/s/w/ir/x/t/hello_world_cpp-5efcad.o:(.eh_frame+0xD9D9)

SEVERE: 2023-09-14 09:35:52.054473: clang: error: linker command failed with exit code 1 (use -v to see invocation)

00:07 �[32m+22�[0m�[31m -2�[0m: �[31mSome tests failed.�[0m

</details>
@dcharkes
Copy link
Collaborator

These are new tests, I made a roll yesterday.

@blaugold can you follow the steps to reproduce this locally on clang 17 and submit a fix?

I've tried to change the GitHub CI to clang 17, but that doesn't work unfortunately. #131 (comment)

@dcharkes dcharkes added the P1 A high priority bug; for example, a single project is unusable or has many test failures label Sep 15, 2023
@dcharkes
Copy link
Collaborator

@blaugold I've merged a CI job which exercises the failures (clang 17), so you can test the fix against the CI here without having to go through the Dart SDK checkout. #135

copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Sep 18, 2023
Bug: dart-lang/native#133
Change-Id: Ic9aca93f8408fc27e7cfb8dfe0a91bfcd33474e9
Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326640
Commit-Queue: Daco Harkes <[email protected]>
Reviewed-by: Hossein Yousefi <[email protected]>
@dcharkes
Copy link
Collaborator

Roll fixed. And we've added a clang 17 bot to the CI, so hopefully we wont break the Linux pkg bots again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

2 participants