4 May
2022
4 May
'22
11:32
On Monday 2022-05-02 17:24, Marcus Schäfer wrote:
--- [ 6235s] x86_64-linux-gnu-gcc -m32 -shared -o /usr/src/packages/BUILD/build-tree/amd64-i386/elf/tst-big-note-lib.so -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both /usr/src/packages/BUILD/build-tree/amd64-i386/elf/tst-big-note-lib.o [ 6235s] /usr/bin/ld: cannot find crti.o: No such file or directory ---
I was told for -m32 the crti.o is delivered by the 32bit development package. Which means you need glibc to build glibc. crti.o is provided by "libc6-dev-x32" on Ubuntu.
Is it for real? Just from the name alone, I would expect that "...somethingsomething-x32" be meant to be used in conjunction with the -mx32 flag, not -m32.