[Bug 1087135] New: GCC 8: rust build fails
http://bugzilla.opensuse.org/show_bug.cgi?id=1087135 Bug ID: 1087135 Summary: GCC 8: rust build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Build the package with GCC 8, there's error: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... Please build the project as follows to reproduce the issue: osc build --alternative-project=openSUSE:Factory:Staging:Gcc7 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1087135 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1084649 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1087135 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jones_ld@protonmail.com, | |pcerny@suse.com Blocks|1084649 | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1087135 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1084649 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1087135 http://bugzilla.opensuse.org/show_bug.cgi?id=1087135#c3 Michal Srb <msrb@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msrb@suse.com --- Comment #3 from Michal Srb <msrb@suse.com> --- The problem happens when building the bundled llvm: /home/abuild/rpmbuild/BUILD/rustc-1.24.1-src/src/llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:696:26: error: could not convert '((llvm::orc::remote::OrcRemoteTargetClient<ChannelT>*)this)->callB<llvm::orc::remote::OrcRemoteTargetRPCAPI::ReadMem>(Src, Size)' from 'Expected<vector<unsigned char,allocator<unsigned char>>>' to 'Expected<vector<char,allocator<char>>>' return callB<ReadMem>(Src, Size); I am not sure how come the mismatch between vector<char> and vector<unsigned char> does not cause trouble with gcc 7. In llvm upstream they changed the char to uint8_t in return value of `OrcRemoteTargetClient::readMem` in commit 30e9aa60fea44210ac8d843d2f6a4b3bd2578bf4. However, this commit is quite a big refactoring, so it may not be good idea to take it whole. It may be worth trying to change just the `OrcRemoteTargetClient::readMem`. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1087135 http://bugzilla.opensuse.org/show_bug.cgi?id=1087135#c4 Mateusz Mikuła <mati865@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mati865@gmail.com --- Comment #4 from Mateusz Mikuła <mati865@gmail.com> --- Maybe it would be possible to update rust? New versions (in the devel OBS repo) have replaced LLVM 4 with LLVM 6 which should compile just fine with new GCC. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1087135 http://bugzilla.opensuse.org/show_bug.cgi?id=1087135#c5 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Martin Liška <martin.liska@suse.com> --- Fixed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com