Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630778 - dev-util/bcc-0.3.0 : /.../loader.cc:231:38: error: IK_C was not declared in this scope (with llvm-5)
Summary: dev-util/bcc-0.3.0 : /.../loader.cc:231:38: error: IK_C was not declared in t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL: https://github.com/iovisor/bcc/commit...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-12 07:48 UTC by Toralf Förster
Modified: 2017-09-13 21:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.67 KB, text/plain)
2017-09-12 07:49 UTC, Toralf Förster
Details
dev-util:bcc-0.3.0:20170912-053355.log (dev-util:bcc-0.3.0:20170912-053355.log,23.06 KB, text/plain)
2017-09-12 07:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,253.70 KB, text/plain)
2017-09-12 07:49 UTC, Toralf Förster
Details
environment (environment,175.74 KB, text/plain)
2017-09-12 07:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.35 KB, application/x-bzip)
2017-09-12 07:49 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.69 KB, application/x-bzip)
2017-09-12 07:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,41.21 KB, application/x-bzip)
2017-09-12 07:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-12 07:48:57 UTC
             ^~
/var/tmp/portage/dev-util/bcc-0.3.0/work/bcc-0.3.0/src/cc/frontends/clang/loader.cc: In member function ‘int ebpf::ClangLoader::parse(std::unique_ptr<llvm::Module>*, std::unique_ptr<std::vector<ebpf::TableDesc> >*, const string&, bool, const char**, int)’:
/var/tmp/portage/dev-util/bcc-0.3.0/work/bcc-0.3.0/src/cc/frontends/clang/loader.cc:231:38: error: ‘IK_C’ was not declared in this scope
         FrontendInputFile(main_path, IK_C));
                                      ^~~~
/var/tmp/portage/dev-util/bcc-0.3.0/work/bcc-0.3.0/src/cc/frontends/clang/loader.cc:261:36: error: ‘IK_C’ was not declared in this scope

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_20170905-225247

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-util/bcc
[ebuild  N    ] dev-util/bcc-0.3.0  PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_5 -python3_6" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-09-12 07:49:00 UTC
Created attachment 494168 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-12 07:49:04 UTC
Created attachment 494170 [details]
dev-util:bcc-0.3.0:20170912-053355.log
Comment 3 Toralf Förster gentoo-dev 2017-09-12 07:49:08 UTC
Created attachment 494172 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-12 07:49:11 UTC
Created attachment 494174 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-12 07:49:15 UTC
Created attachment 494176 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-12 07:49:18 UTC
Created attachment 494178 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-09-12 07:49:22 UTC
Created attachment 494180 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2017-09-13 21:33:19 UTC
The bug has been closed via the following commit(s):

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

commit ab73b622b45fba34011698d592849e1d3b1a62f5
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2017-09-13 21:32:10 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2017-09-13 21:33:14 +0000

    dev-util/bcc: patch 0.3.0 for llvm-5 (bug 630778)
    
    Closes: https://bugs.gentoo.org/630778
    Package-Manager: Portage-2.3.8, Repoman-2.3.2

 dev-util/bcc/Manifest         | 1 +
 dev-util/bcc/bcc-0.3.0.ebuild | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2017-09-13 21:51:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/sync/gentoo.git/commit/?id=ab73b622b45fba34011698d592849e1d3b1a62f5

commit ab73b622b45fba34011698d592849e1d3b1a62f5
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2017-09-13 21:32:10 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2017-09-13 21:33:14 +0000

    dev-util/bcc: patch 0.3.0 for llvm-5 (bug 630778)
    
    Closes: https://bugs.gentoo.org/630778
    Package-Manager: Portage-2.3.8, Repoman-2.3.2

 dev-util/bcc/Manifest         | 1 +
 dev-util/bcc/bcc-0.3.0.ebuild | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)