Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749573 - dev-lang/ispc-1.14.1 : /.../opt.cpp: error: cannot convert bool to llvm::AssemblyAnnotationWriter*
Summary: dev-lang/ispc-1.14.1 : /.../opt.cpp: error: cannot convert bool to llvm::Asse...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-10-16 15:33 UTC by Toralf Förster
Modified: 2020-12-09 09:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.83 KB, text/plain)
2020-10-16 15:33 UTC, Toralf Förster
Details
dev-lang:ispc-1.14.1:20201016-143916.log (dev-lang:ispc-1.14.1:20201016-143916.log,112.60 KB, text/plain)
2020-10-16 15:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,220.13 KB, text/plain)
2020-10-16 15:33 UTC, Toralf Förster
Details
environment (environment,124.26 KB, text/plain)
2020-10-16 15:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.99 KB, application/x-bzip)
2020-10-16 15:33 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.36 KB, application/x-bzip)
2020-10-16 15:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.86 KB, application/x-bzip)
2020-10-16 15:33 UTC, Toralf Förster
Details
same for 9999 (build.log,311.18 KB, text/x-log)
2020-11-02 10:25 UTC, brothermechanic
Details
ispc-1.14.1-llvm_max_slot10.patch (ispc-1.14.1-llvm_max_slot10.patch,845 bytes, patch)
2020-11-23 08:49 UTC, Marco Genasci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-10-16 15:33:45 UTC
/var/tmp/portage/dev-lang/ispc-1.14.1/work/ispc-1.14.1/src/opt.cpp: In member function ‘bool IntrinsicsOpt::runOnBasicBlock(llvm::BasicBlock&)’:
/var/tmp/portage/dev-lang/ispc-1.14.1/work/ispc-1.14.1/src/opt.cpp:158:32: error: cannot convert ‘bool’ to ‘llvm::AssemblyAnnotationWriter*’
  158 |         bb.print(llvm::outs(), false);                                                                               \
      |                                ^~~~~
      |                                |

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20201008-134631

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0
  [2]   rust-1.47.0 *
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Oct 16 02:05:19 PM UTC 2020
/var/db/repos/libressl	Fri Oct  9 07:35:07 PM UTC 2020

emerge -qpvO dev-lang/ispc
[ebuild  N    ] dev-lang/ispc-1.14.1  USE="-examples"
Comment 1 Toralf Förster gentoo-dev 2020-10-16 15:33:46 UTC
Created attachment 666032 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-16 15:33:48 UTC
Created attachment 666035 [details]
dev-lang:ispc-1.14.1:20201016-143916.log
Comment 3 Toralf Förster gentoo-dev 2020-10-16 15:33:50 UTC
Created attachment 666038 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-10-16 15:33:51 UTC
Created attachment 666041 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-10-16 15:33:53 UTC
Created attachment 666044 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-16 15:33:54 UTC
Created attachment 666047 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-10-16 15:33:55 UTC
Created attachment 666050 [details]
temp.tbz2
Comment 8 brothermechanic 2020-11-02 10:25:45 UTC
Created attachment 669728 [details]
same for 9999
Comment 9 Marco Genasci 2020-11-23 08:49:51 UTC
Created attachment 674419 [details, diff]
ispc-1.14.1-llvm_max_slot10.patch

ispc not support yet llvm-11 (see [1]), so patch force LLVM_MAX_SLOT to 10 on ebuild.


[1] https://github.com/ispc/ispc/issues/1896#issuecomment-718960959
Comment 10 Larry the Git Cow gentoo-dev 2020-12-09 09:42:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53cc01edc10416724da63affea4c44abc53c9360

commit 53cc01edc10416724da63affea4c44abc53c9360
Author:     Adrian Grigo <agrigo2001@yahoo.com.au>
AuthorDate: 2020-11-27 11:14:55 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-12-09 09:42:39 +0000

    dev-lang/ispc: Iscp only supports up to LLVM 10
    
    Iscp does not yet have llvm 11 support, so limit clang and llvm in both
    ebuilds to version 10 maximum.
    
    Thanks to Toralf Förster, brothermechanic and Marco Genasci for their
    contributions to fixing this bug, I am only repackaging it.
    
    A working ispc is needed for adding embree support to blender.
    
    See https://github.com/ispc/ispc/issues/1896
    
    Signed-off-by: Adrian Grigo <agrigo2001@yahoo.com.au>
    Closes: https://bugs.gentoo.org/749573
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Closes: https://github.com/gentoo/gentoo/pull/18427
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-lang/ispc/ispc-1.14.1.ebuild | 14 +++++++++-----
 dev-lang/ispc/ispc-9999.ebuild   | 13 ++++++++-----
 2 files changed, 17 insertions(+), 10 deletions(-)