If nvtt is build with -Wl,--as-needed, the linker will not resolve bc7 symbols from any library listed earlier, make sure it (also) appears after libbc7.a