^ /usr/include/simgear/math/simd.hxx: At global scope: /usr/include/simgear/math/simd.hxx:1268:8: error: redefinition of ‘simd4_t<T, N>::simd4_t(T) [with T = int; int N = 4]’ inline simd4_t<int,4>::simd4_t(int i) { ^ /usr/include/simgear/math/simd.hxx:1256:8: note: ‘simd4_t<T, N>::simd4_t(T) [with T = int; int N = 4]’ previously declared here ----------------------------------------------------------------- This is an unstable amd64 chroot image (named desktop-abi32+64_20170228-084815) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] jython2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 7.2.6.8 [icedtea-bin-7] 2) IcedTea JDK 3.3.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-7 system-vm [2] icedtea-bin-8
Created attachment 466240 [details] emerge-info.txt
Created attachment 466242 [details] config.log.tbz2
Created attachment 466244 [details] emerge-history.txt
Created attachment 466246 [details] environment
Created attachment 466248 [details] etc.portage.tbz2
Created attachment 466250 [details] games-util:atlas-0.5.0_p20141002:20170306-222600.log
Created attachment 466252 [details] temp.tbz2
There are other issues: there is new vcs snasphot needed, -std=c++ is needed in CXXFLAGS, then missing #include <cmath> and prefixing isnan with std namespace, finally read_bin(const char*) -> read_bin(SGPath&). But after this I still get linking error: x86_64-pc-linux-gnu-g++ -std=c++11 -DFGBASE_DIR='"/usr/share/flightgear"' -Wl,-O1 -Wl,--as-needed -L/usr/local//lib -o Map Map.o Tiles.o TileMapper.o Bucket.o Subbucket.o Palette.o Image.o misc.o -lSimGearCore -lplibpu -lplibfnt -lplibsg -lglut -lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm -lpng -lz -ljpeg -lGLEW -lplibul -lcurl -lm Map.o: In function `parse_arg(char*)': Map.cxx:(.text+0x3a3): undefined reference to `SGPath::set(std::string const&)' Map.cxx:(.text+0x412): undefined reference to `SGPath::set(std::string const&)' Map.cxx:(.text+0x481): undefined reference to `SGPath::set(std::string const&)' Map.cxx:(.text+0x4f0): undefined reference to `SGPath::set(std::string const&)' Map.o: In function `main': Map.cxx:(.text+0xb00): undefined reference to `SGPath::set(std::string const&)' Map.o:Map.cxx:(.text+0xb63): more undefined references to `SGPath::set(std::string const&)' follow collect2: error: ld returned 1 exit status make[3]: *** [Makefile:525: Map] Error 1 make[3]: *** Waiting for unfinished jobs.... FlightTrack.o: In function `FlightTrack::FlightTrack(NavData*, char const*)': FlightTrack.cxx:(.text+0x2c8): undefined reference to `SGPath::set(std::string const&)' FlightTrack.o: In function `FlightTrack::FlightTrack(NavData*, int, unsigned int)': FlightTrack.cxx:(.text+0x683): undefined reference to `SGPath::set(std::string const&)' FlightTrack.o: In function `FlightTrack::FlightTrack(NavData*, char const*, int, unsigned int)': FlightTrack.cxx:(.text+0xa7c): undefined reference to `SGPath::set(std::string const&)' FlightTrack.o: In function `FlightTrack::setFilePath(char*)': FlightTrack.cxx:(.text+0x1668): undefined reference to `SGPath::set(std::string const&)' Tiles.o: In function `TileManager::mapPath(unsigned int)': Tiles.cxx:(.text+0x1429): undefined reference to `SGPath::set(std::string const&)' Tiles.o:Tiles.cxx:(.text._ZN6SGPathaSEPKc[_ZN6SGPathaSEPKc]+0x52): more undefined references to `SGPath::set(std::string const&)' follow collect2: error: ld returned 1 exit status against symbols that are marked as undefined in simgear...: maciek@liwardyna ~ $ readelf -Ws /usr/lib64/libSimGearScene.so | c++filt | grep SGPath 10: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::append(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 56: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::lower_extension() const 69: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::exists() const 287: 0000000000000000 0 FUNC GLOBAL DEFAULT UND simgear::ResourceManager::findPath(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SGPath) 315: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::file_base() const 440: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::SGPath(SGPath const&) 442: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::~SGPath() 524: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::local8BitStr() const 574: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::extension() const 589: 0000000000000000 0 FUNC GLOBAL DEFAULT UND sg_gzifstream::sg_gzifstream(SGPath const&, std::_Ios_Openmode, bool) 616: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::dir() const 760: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGBinObject::read_bin(SGPath const&) 769: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::SGPath(SGPath::Permissions (*)(SGPath const&)) 850: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::operator/(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 973: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::isNull() const 992: 0000000000000000 0 FUNC GLOBAL DEFAULT UND readProperties(SGPath const&, SGPropertyNode*, int, bool) 1032: 0000000000000000 0 FUNC GLOBAL DEFAULT UND sg_location::sg_location(SGPath const&, int, int) 1083: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::SGPath(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SGPath::Permissions (*)(SGPath const&)) 1108: 0000000000000000 0 FUNC GLOBAL DEFAULT UND SGPath::operator=(SGPath const&) 1734: 00000000002a89b0 3527 FUNC WEAK DEFAULT 10 simgear::ReaderWriterSTG::_ModelBin::checkInsideBucket(SGPath const&, float, float) 2018: 0000000000276ef0 248 FUNC GLOBAL DEFAULT 10 simgear::SGModelLib::findDataFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*, SGPath) 2185: 0000000000290a30 2481 FUNC GLOBAL DEFAULT 10 SGNewCloud::SGNewCloud(SGPath const&, SGPropertyNode const*, mt*) 2487: 0000000000292330 9957 FUNC GLOBAL DEFAULT 10 SGSun::build(SGPath, double, SGPropertyNode*) 5407: 00000000002f9fa0 13957 FUNC GLOBAL DEFAULT 10 SGXmlSound::init(SGPropertyNode*, SGPropertyNode*, SGSampleGroup*, SGSampleGroup*, SGPath const&) 6259: 00000000002f4290 586 FUNC GLOBAL DEFAULT 10 SGSoundSample::SGSoundSample(char const*, SGPath const&) 6760: 00000000002a5420 257 FUNC WEAK DEFAULT 10 std::basic_ostream<char, std::char_traits<char> >& operator<< <char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, SGPath const&) 6864: 00000000002f4290 586 FUNC GLOBAL DEFAULT 10 SGSoundSample::SGSoundSample(char const*, SGPath const&) 6897: 0000000000290a30 2481 FUNC GLOBAL DEFAULT 10 SGNewCloud::SGNewCloud(SGPath const&, SGPropertyNode const*, mt*) 7034: 000000000028f740 1543 FUNC GLOBAL DEFAULT 10 SGMoon::build(SGPath, double) 7362: 00000000002ac410 14489 FUNC WEAK DEFAULT 10 simgear::ReaderWriterSTG::_ModelBin::read(SGPath const&, osgDB::Options const*) 7430: 00000000002fde90 4319 FUNC GLOBAL DEFAULT 10 simgear::loadWAVFromFile(SGPath const&, unsigned int&, int&, float&, unsigned int&) I'll do new bump for you to play with but mask the package for now.
Created attachment 466304 [details, diff] Partial patch I've added atlas-0.5.1_beta_pre20160907 to repo. Feel free to play with attached patch until I have the time for that myself, that need for -std=c++ might be problematic for atlas.
Created attachment 466306 [details, diff] Partial compilation fix
Removing gcc blocker. Atlas is just not adapted to latest simgear API.
I had to port atlas to new simgear SGPath API.