[Bug libc/32823] make[2]: *** [../Rules:248: /home/dave/gnu/glibc/objdir/elf/tst-origin] Error 1
danglin at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Thu Mar 27 20:17:22 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32823
--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
Link command:
gcc -U_FILE_OFFSET_BITS -U_TIME_BITS -o
/home/dave/gnu/glibc/objdir/elf/tst-origin -nostdlib -nostartfiles
-Wl,-rpath,\$ORIGIN -L/home/dave/gnu/glibc/objdir
-L/home/dave/gnu/glibc/objdir/math -L/home/dave/gnu/glibc/objdir/elf
-L/home/dave/gnu/glibc/objdir/dlfcn -L/home/dave/gnu/glibc/objdir/nss
-L/home/dave/gnu/glibc/objdir/nis -L/home/dave/gnu/glibc/objdir/rt
-L/home/dave/gnu/glibc/objdir/resolv -L/home/dave/gnu/glibc/objdir/mathvec
-L/home/dave/gnu/glibc/objdir/support -L/home/dave/gnu/glibc/objdir/misc
-L/home/dave/gnu/glibc/objdir/debug -L/home/dave/gnu/glibc/objdir/nptl
-lorigin-mod -Wl,-z,relro /home/dave/gnu/glibc/objdir/csu/crt1.o
/home/dave/gnu/glibc/objdir/csu/crti.o `gcc -U_FILE_OFFSET_BITS -U_TIME_BITS
--print-file-name=crtbegin.o` /home/dave/gnu/glibc/objdir/elf/tst-origin.o
/home/dave/gnu/glibc/objdir/support/libsupport_nonshared.a
-Wl,-dynamic-linker=/lib/ld.so.1
-Wl,-rpath-link=/home/dave/gnu/glibc/objdir:/home/dave/gnu/glibc/objdir/math:/home/dave/gnu/glibc/objdir/elf:/home/dave/gnu/glibc/objdir/dlfcn:/home/dave/gnu/glibc/objdir/nss:/home/dave/gnu/glibc/objdir/nis:/home/dave/gnu/glibc/objdir/rt:/home/dave/gnu/glibc/objdir/resolv:/home/dave/gnu/glibc/objdir/mathvec:/home/dave/gnu/glibc/objdir/support:/home/dave/gnu/glibc/objdir/misc:/home/dave/gnu/glibc/objdir/debug:/home/dave/gnu/glibc/objdir/nptl
-lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
/home/dave/gnu/glibc/objdir/libc.so.6
/home/dave/gnu/glibc/objdir/libc_nonshared.a -Wl,--as-needed
/home/dave/gnu/glibc/objdir/elf/ld.so -Wl,--no-as-needed -lgcc -Wl,--as-needed
-lgcc_s -Wl,--no-as-needed `gcc -U_FILE_OFFSET_BITS -U_TIME_BITS
--print-file-name=crtend.o` /home/dave/gnu/glibc/objdir/csu/crtn.o
/usr/bin/ld: /home/dave/gnu/glibc/objdir/elf/tst-origin.o: in function `main':
/home/dave/gnu/glibc/glibc/elf/tst-origin.c:24:(.text.startup+0x8): undefined
reference to `foo'
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list