Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Internal compiler error: in calc_dfs_tree, at dominance.c:401  (Read 396 times)

0 Members and 1 Guest are viewing this topic.

Offline vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
Internal compiler error: in calc_dfs_tree, at dominance.c:401
« on: September 22, 2014, 09:35:19 PM »

Hi recently I can not compile btsx wallet anymore.

This is my AUR package (install script) https://aur.archlinux.org/packages/bi/bitshares-x/PKGBUILD

This is the error I get:

Code: [Select]
[ 78%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
[ 78%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/genesis_json.cpp.o
/home/afri/aur/bitshares-x/src/bitsharesx/libraries/blockchain/chain_database.cpp: In member function ‘void bts::blockchain::chain_database::open(const fc::path&, fc::optional<fc::path>, std::function<void(float)>)’:
/home/afri/aur/bitshares-x/src/bitsharesx/libraries/blockchain/chain_database.cpp:1189:63: internal compiler error: in calc_dfs_tree, at dominance.c:401
    } FC_RETHROW_EXCEPTIONS( warn, "", ("data_dir",data_dir) ) }
                                                               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
libraries/blockchain/CMakeFiles/bts_blockchain.dir/build.make:570: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o' failed
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1
CMakeFiles/Makefile2:714: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/all' failed
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

gcc version 4.9.1 20140903 (prerelease)

Any ideas?

Offline bytemaster

Re: Internal compiler error: in calc_dfs_tree, at dominance.c:401
« Reply #1 on: September 22, 2014, 09:50:18 PM »
Use clang...
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline toast

Re: Internal compiler error: in calc_dfs_tree, at dominance.c:401
« Reply #2 on: September 22, 2014, 11:51:02 PM »
I thought it didn't work with clang? Try gcc 4.8

Sent from my SCH-I535 using Tapatalk

Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12242
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Internal compiler error: in calc_dfs_tree, at dominance.c:401
« Reply #3 on: September 23, 2014, 06:39:46 AM »
clang is working nicely over here

@OP: this is how to do it:
https://bitsharestalk.org/index.php?topic=8363.msg109457#msg109457
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline emf

  • Jr. Member
  • **
  • Posts: 21
    • View Profile

Offline vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
Re: Internal compiler error: in calc_dfs_tree, at dominance.c:401
« Reply #5 on: September 23, 2014, 07:29:12 PM »
Thanks everyone, will switch to clang.

Edit, just saw that it will be fixed in gcc 4.9.2.... I'm on 4.9.1 so just need to wait till it's available in ArchLinux.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62079
« Last Edit: September 23, 2014, 07:35:31 PM by vertoe »

Offline vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
Re: Internal compiler error: in calc_dfs_tree, at dominance.c:401
« Reply #6 on: September 23, 2014, 07:43:43 PM »
Damn, what's missing now?

Code: [Select]
bitshares-x/src/bitsharesx/programs/qt_wallet/MainWindow.cpp:356:34: error: no member named 'get_mail_client' in 'bts::client::client'
  clientWrapper()->get_client()->get_mail_client()->new_mail_notifier.connect([=](int newMessages) {
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^

« Last Edit: September 23, 2014, 07:49:38 PM by vertoe »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12242
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Internal compiler error: in calc_dfs_tree, at dominance.c:401
« Reply #7 on: September 23, 2014, 08:55:06 PM »
is this a fresh compile? if not maybe a "make clean; make" can help
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
Re: Internal compiler error: in calc_dfs_tree, at dominance.c:401
« Reply #8 on: September 25, 2014, 06:38:48 PM »
is this a fresh compile? if not maybe a "make clean; make" can help

did not work with make clean either, it seemed to be a bug. with v0.4.17 its working now. thanks everyone.

(clang is awesome btw, why did I ever use gcc lol)

 

Google+