On Tue, Jan 29, 2019 at 09:30:13AM +0100, Fekete Zoltán wrote: > Hi There, > > My current's build breaks with the message below for 2 weeks now. Could you > please help to resolve? > > /usr/tools/lib/gcc/x86_64--netbsd/6.5.0/../../../../x86_64--netbsd/bin/ld: > libgcc_s_pic.a(enable-execute-stack.pico): file class ELFCLASS64 > incompatible with ELFCLASS32 > /usr/tools/lib/gcc/x86_64--netbsd/6.5.0/../../../../x86_64--netbsd/bin/ld: > final link failed: file in wrong format > collect2: error: ld returned 1 exit status
Clean the object dir - you must have some 32bit object files mixed with 64bit objects. Martin