ReLU6, BlobDataset, FileBlobDataset seem broken or missing
Hi @lunixbochs,
How are you building? With cmake?
Could you try again, I think the error was fixed with commit https://github.com/facebookresearch/flashlight/commit/cd5b82f14bf3d81a1a09c136ada873757c4dc158 in flashlight.
@lunixbochs — just built successfully. Can you say more about your setup and issue so I can try to repro?
Ah, I didn't notice the flashlight changes, I think that will fix this, rebuilding now
Ok updating flashlight fixed those errors, now I still have
[ 36%] Linking CXX executable Train
CMakeFiles/Train.dir/src/data/W2lBlobsDataset.cpp.o: In function `w2l::W2lBlobsDataset::getLoaderData(long) const':
W2lBlobsDataset.cpp:(.text+0x24a8): undefined reference to `std::vector<float, std::allocator<float> > w2l::loadSound<float>(std::istream&)'
collect2: error: ld returned 1 exit status
CMakeFiles/Train.dir/build.make:1103: recipe for target 'Train' failed
I fixed this by adding template std::vector<float, std::allocator<float> > w2l::loadSound<float>(std::istream&); to Sound.cpp, really no clue what caused it though.
@lunixbochs — also seeing an issue with gcc 7.4. Working on a fix.
EDIT: can't reproduce on anything older than gcc 7.4, so my suggestion would be to fill in that template yourself if you can't downgrade your compiler. I suspect this is happening because libsndfile was compiled with an older version of gcc leading to some symbol naming issue that has changed in new gcc versions. Building it from source then rebuilding/relinking should resolve the issue.
I just did a fresh build with gcc 7.4 and libsndfile against master and it's doing this again :/
I am facing the same error. Any update on how to solve this?
This has been really tough to repro/debug — I'll track it in #417.
Most helpful comment
I just did a fresh build with gcc 7.4 and libsndfile against master and it's doing this again :/