search for: 902259a6

Displaying 2 results from an estimated 2 matches for "902259a6".

2019 Jun 07
2
ld.lld fails with "undefined symbol: _fopen" on macOS, while working as expected on Linux
Hi, I'm trying to cross-compile my app. #include <stdio.h> int main() { puts("test"); fopen("test", "r"); // removing fopen() call removes the error return 0; } clang -c -target x86_64-linux-gnu test.c ld.lld -v -o test -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib/x86_64-linux-gnu/crt1.o /usr/lib/x86_64-linux-gnu/crti.o test.o
2019 Jun 07
2
ld.lld fails with "undefined symbol: _fopen" on macOS, while working as expected on Linux
.../path/to/linux/usr/include. Just what you've copied across might > well be sufficient to use with --sysroot. > > Cheers. > > Tim. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190607/902259a6/attachment.html>