Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying dynamic linker #12

Open
streamliner18 opened this issue Jun 11, 2018 · 0 comments
Open

Specifying dynamic linker #12

streamliner18 opened this issue Jun 11, 2018 · 0 comments

Comments

@streamliner18
Copy link

streamliner18 commented Jun 11, 2018

My use case involves a highly customized system that requires any program to be compiled with test -Wl,--dynamic-linker=/lib/ld-musl-x86_64.so.1 or it won't properly execute. (OpenWRT with BusyBox). In that case, may I know where I can add this flag in the exxo bootstrapping/build process?

For your reference, a binary compiled with Exxo would generate a "not found" error under BusyBox, and the ldd outputs shows this:

root@XNCB3B95FF859068:~/senpai# ldd SteelSenpai
        /lib64/ld-linux-x86-64.so.2 (0x55bcb8e11000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x55bcb8e11000)
        libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x55bcb8e11000)
        libutil.so.1 => /lib64/ld-linux-x86-64.so.2 (0x55bcb8e11000)
        libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x55bcb8e11000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x55bcb8e11000)
Error relocating SteelSenpai: xdr_pointer: symbol not found
Error relocating SteelSenpai: __dcgettext: symbol not found
Error relocating SteelSenpai: clnt_perror: symbol not found
Error relocating SteelSenpai: clnt_pcreateerror: symbol not found
Error relocating SteelSenpai: __strncpy_chk: symbol not found
Error relocating SteelSenpai: __longjmp_chk: symbol not found
Error relocating SteelSenpai: __fprintf_chk: symbol not found
Error relocating SteelSenpai: xdr_bool: symbol not found
Error relocating SteelSenpai: __finite: symbol not found
Error relocating SteelSenpai: __printf_chk: symbol not found
Error relocating SteelSenpai: __rawmemchr: symbol not found
Error relocating SteelSenpai: __memcpy_chk: symbol not found
Error relocating SteelSenpai: __isinff: symbol not found
Error relocating SteelSenpai: xdr_opaque: symbol not found
Error relocating SteelSenpai: __vsnprintf_chk: symbol not found
Error relocating SteelSenpai: xdr_u_int: symbol not found
Error relocating SteelSenpai: xdr_bytes: symbol not found
Error relocating SteelSenpai: tmpnam_r: symbol not found
Error relocating SteelSenpai: __strcat_chk: symbol not found
Error relocating SteelSenpai: clnt_spcreateerror: symbol not found
Error relocating SteelSenpai: __vfprintf_chk: symbol not found
Error relocating SteelSenpai: __isnan: symbol not found
Error relocating SteelSenpai: clnttcp_create: symbol not found
Error relocating SteelSenpai: __isinf: symbol not found
Error relocating SteelSenpai: authdes_create: symbol not found
Error relocating SteelSenpai: __strcpy_chk: symbol not found
Error relocating SteelSenpai: xdr_enum: symbol not found
Error relocating SteelSenpai: __syslog_chk: symbol not found
Error relocating SteelSenpai: __open64_2: symbol not found
Error relocating SteelSenpai: __memset_chk: symbol not found
Error relocating SteelSenpai: __fread_chk: symbol not found
Error relocating SteelSenpai: __libc_clntudp_bufcreate: symbol not found
Error relocating SteelSenpai: authunix_create_default: symbol not found
Error relocating SteelSenpai: xdr_free: symbol not found
Error relocating SteelSenpai: xdr_string: symbol not found
Error relocating SteelSenpai: __sprintf_chk: symbol not found
Error relocating SteelSenpai: __realpath_chk: symbol not found
Error relocating SteelSenpai: __snprintf_chk: symbol not found
Error relocating SteelSenpai: clnt_create: symbol not found
Error relocating SteelSenpai: __memmove_chk: symbol not found
Error relocating SteelSenpai: host2netname: symbol not found
Error relocating SteelSenpai: __mbrlen: symbol not found
Error relocating SteelSenpai: _libc_intl_domainname: symbol not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant