JetPack 4.1.1 Segfault in GNU linker trying to link binary data

GNU binutils crash every time linker tries to link binary data file, example

g++ test.cpp -o test -Wl,–format=binary -Wl,BinaryData.bin -Wl,–format=default


test.cpp

#include <iostream>

extern char binary_data[] asm( "_binary_BinaryData_bin_start" );

int main(int argc, char** argv)
{
   std::cout << "Binary Data: " << binary_data << std::endl;
   return 0;
}

This bug seems to be present in every distribution of linux for NVidia aarch64 systems
binary_image_test.zip (3.97 KB)