Author Topic: Internal compiler error: in calc_dfs_tree, at dominance.c:401  (Read 2214 times)

0 Members and 1 Guest are viewing this topic.

Offline vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
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)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
is this a fresh compile? if not maybe a "make clean; make" can help

Offline vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
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 vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
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 xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
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 bytemaster

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 vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
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?