stoppels.ch·12 november 2026
Paths in pieces

AVX2
binary analysis
binary deduplication
C++
Clang
conda
GCC
Linux
package managers
Spack
string literals
string optimization
vectorized instructions
x86-64
x86-64-v3
stoppels.ch
Linux distributions and package managers audit binaries for non-relocatable absolute paths, but GCC optimizes string constants in a way that makes them harder to detect. GCC splits strings into overlapping pieces to use vectorized move instructions, which can result in modified paths in the binary. This optimization can affect package managers that rely on relocatable paths, as the strings are stored in a deduplicated manner. The optimization does not provide significant benefits for string literals, as Clang handles them differently without splitting.