* Package: app-mobilephone/smsclient-2.0.9a-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/9d27621b037d8d4a1574acdfe893aa89bcd09e35 @@@@@ END @@@@@ >>> Unpacking source... >>> Unpacking smsclient-2.0.9a.tar.gz to /var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work >>> Source unpacked in /var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work >>> Preparing source in /var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a ... * Applying smsclient-2.0.9a-gentoo.patch ... [ ok ] * Applying smsclient-2.0.9a-sender.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a ... Generating file 'Makefile.drivers' from file 'drivers'... Done. Generating file 'Makefile.modemlib'... Done. Copying 'config/Makefile.config.linux' to 'Makefile.config' Configuration complete You may wish to edit Makefile.config for site specific dependencies When you have finished, to build and install sms_client run: make ; make install >>> Source configured. >>> Compiling source in /var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a ... make -j2 V=1 CC=x86_64-pc-linux-gnu-clang 'AR=llvm-ar rc' RANLIB=llvm-ranlib 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0' cd src ; make make[1]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src' cd common ; make make[2]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/common' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I.. -c common.c make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/common' cd logfile ; make make[2]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/logfile' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I.. -c logfile.c logfile.c:85:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(EOPENLOG); ^ logfile.c:85:3: note: include the header or explicitly provide a declaration for 'exit' logfile.c:176:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] line_len = strlen(line); ^ logfile.c:176:13: note: include the header or explicitly provide a declaration for 'strlen' logfile.c:190:6: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] { strcpy(ptr, asctostr(line[i])); ^ logfile.c:190:6: note: include the header or explicitly provide a declaration for 'strcpy' 3 warnings generated. make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/logfile' cd driver ; make make[2]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/driver' x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c belgacom.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c mobistar.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c ucp_tcp.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c pagenet_web.c In file included from ucp_tcp.c:94: ./libucp.c:142:37: warning: variable 'ORC' is uninitialized when used here [-Wuninitialized] msgHead = UCP_header( tranRefNo, ORC, opType, strlen(msgData) ); ^~~ ./libucp.c:134:14: note: initialize the variable 'ORC' to silence this warning ORC; ^ = '\0' x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c nextel_web.c 1 warning generated. x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c att_web.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c proximus_web.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c cellnet_web.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c orange_web.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c ucp.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c generic.c -DMSERVICEDIR="\"/etc/smsclient\"" generic.c:212x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c cimd.c :28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { lprintf(LOG_STANDARD, str); ^~~ generic.c:212:28: note: treat the string as an argument to avoid this { lprintf(LOG_STANDARD, str); ^ "%s", generic.c:290:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] lprintf(LOG_STANDARD, str); ^~~ generic.c:290:28: note: treat the string as an argument to avoid this lprintf(LOG_STANDARD, str); ^ "%s", generic.c:306:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] lprintf(LOG_STANDARD, str); ^~~ generic.c:306:28: note: treat the string as an argument to avoid this lprintf(LOG_STANDARD, str); ^ "%s", 3 warnings generated. x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c snpp.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c answer.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c kpn.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c vodapage_block.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c proximus.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c tim.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c libertel.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c mtn.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c vodacom.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c one2one.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c pageone.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c orange.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c vodafone.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c tap.c x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c driver.c -DBELGACOM -DMOBISTAR -DUCP_TCP -DPAGENET_WEB -DNEXTEL_WEB -DATT_WEB -DPROXIMUS_WEB -DCELLNET_WEB -DORANGE_WEB -DUCP -DGENERIC -DCIMD -DSNPP -DANSWER -DKPN -DVODAPAGE_BLOCK -DPROXIMUS -DTIM -DLIBERTEL -DMTN -DVODACOM -DONE2ONE -DPAGEONE -DORANGE -DVODAFONE -DTAP \ -DMSERVICEDIR="\"/etc/smsclient\"" \ -DMLIBDIR="\"/usr/share/smsclient\"" \ -DMODEMLIB=2 \ -DLIBMODEM=1 \ -DSMSMODEM=2 driver.c:509:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(-1); ^ driver.c:509:3: note: include the header or explicitly provide a declaration for 'exit' x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c driver_comms.c -DBELGACOM -DMOBISTAR -DUCP_TCP -DPAGENET_WEB -DNEXTEL_WEB -DATT_WEB -DPROXIMUS_WEB -DCELLNET_WEB -DORANGE_WEB -DUCP -DGENERIC -DCIMD -DSNPP -DANSWER -DKPN -DVODAPAGE_BLOCK -DPROXIMUS -DTIM -DLIBERTEL -DMTN -DVODACOM -DONE2ONE -DPAGEONE -DORANGE -DVODAFONE -DTAP \ -DMODEMLIB=2 \ -DLIBMODEM=1 \ -DSMSMODEM=2 1 warning generated. x86_64-pc-linux-gnu-clang -I.. -I../client -I../parser -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c ia5table.c /bin/rm -f sms_driver.a llvm-ar rc sms_driver.a driver.o driver_comms.o ia5table.o belgacom.o mobistar.o ucp_tcp.o pagenet_web.o nextel_web.o att_web.o proximus_web.o cellnet_web.o orange_web.o ucp.o generic.o cimd.o snpp.o answer.o kpn.o vodapage_block.o proximus.o tim.o libertel.o mtn.o vodacom.o one2one.o pageone.o orange.o vodafone.o tap.o llvm-ranlib sms_driver.a make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/driver' cd client ; make make[2]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/client' echo "#define MVERSION \"`awk '{ print }' ../../.version`\"" >version.h x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c expand.c -DMLOCALSMSRC="\".sms_addressbook\"" -DMGLOBALSMSRC="\"/etc/smsclient/sms_addressbook\"" -I.. -I../driver x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c sms_list.c -I.. -I../driver cd ../driver ; make cd ../lock ; make lock.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/driver' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/driver' cd ../parser ; make make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/lock' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c lock.c -I.. -I../parser make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/parser' x86_64-pc-linux-gnu-clang -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I.. -c gs_list.c lock.c:73:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(-1); ^ lock.c:73:5: note: include the header or explicitly provide a declaration for 'exit' x86_64-pc-linux-gnu-clang -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I.. -c gs_parser.c 1 warning generated. /bin/rm -f lock.a llvm-ar rc lock.a lock.o llvm-ranlib lock.a make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/lock' cd ../comms ; make comms.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/comms' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c expect.c -I.. x86_64-pc-linux-gnu-clang -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I.. -c gs_token.c gs_token.c:428:46: warning: format specifies type 'void *' but the argument has type 'TOKEN_ID' (aka 'struct token_struct *') [-Wformat-pedantic] lprintf(LOG_VERYVERBOSE, "Token id = %p\n", token_id); ~~ ^~~~~~~~ gs_token.c:445:45: warning: format specifies type 'void *' but the argument has type 'TOKEN_ID' (aka 'struct token_struct *') [-Wformat-pedantic] lprintf(LOG_VERYVERBOSE, "returning %p\n", token); ~~ ^~~~~ x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c modem.c -DMMODEMDIR="\"/etc/smsclient\"" -I.. 2 warnings generated. x86_64-pc-linux-gnu-clang -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I.. -c gs_translate.c gs_translate.c:344:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] { if (strcmp(str, variable) == 0) ^ gs_translate.c:344:9: note: include the header or explicitly provide a declaration for 'strcmp' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c tcpip.c -I.. x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c base64.c -I.. 1 warning generated. x86_64-pc-linux-gnu-clang -g -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I.. -c gs_io.c base64.c:73:48: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] encoded_data = (char *)malloc(sizeof(char) * (strlen(str) * 2)); ^ base64.c:73:48: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c url.c -I.. llvm-ar rc gs_parser.a gs_list.o gs_parser.o gs_token.o gs_translate.o gs_io.o llvm-ranlib gs_parser.a make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/parser' cd ../resource ; make resource.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/resource' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c resource.c -I.. -I../parser x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c http.c -I.. http.c:208:32: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] http_twrite(sockfd, send_buf, strlen(send_buf), HTTP_WRITETIMEOUT); ^ http.c:208:32: note: include the header or explicitly provide a declaration for 'strlen' http.c:274:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(method, "GET") == 0) ^ http.c:274:7: note: include the header or explicitly provide a declaration for 'strcmp' /bin/rm -f resource.a llvm-ar rc resource.a resource.o llvm-ranlib resource.a make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/resource' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c sms_address.c -DMSERVICEDIR="\"/etc/smsclient\"" -DMLOGLEVEL=3 -DMLOGFILE="\"/var/log/smsclient.log\"" -I.. -I../driver 2 warnings generated. x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c http_tread.c -I.. http_tread.c:51:16: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] start_time = time(NULL); ^ http_tread.c:91:30: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] new_timeout = (*timeout - (time(NULL) - start_time)); ^ 2 warnings generated. x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c http_twrite.c -I.. x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -c sms_client.c -DMSERVICEDIR="\"/etc/smsclient\"" -DMLOGLEVEL=3 -DMLOGFILE="\"/var/log/smsclient.log\"" -I.. -I../driver http_twrite.c:51:16: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] start_time = time(NULL); ^ http_twrite.c:88:30: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] new_timeout = (*timeout - (time(NULL) - start_time)); ^ 2 warnings generated. /bin/rm -f comms.a llvm-ar rc comms.a expect.o modem.o tcpip.o base64.o url.o http.o http_tread.o http_twrite.o llvm-ranlib comms.a make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/comms' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../../bin/sms_address sms_address.o expand.o sms_list.o ../logfile/logfile.o ../driver/sms_driver.a ../common/common.o ../parser/gs_parser.a ../comms/comms.a ../lock/lock.a ../resource/resource.a x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../../bin/sms_client sms_client.o expand.o ../logfile/logfile.o sms_list.o ../driver/sms_driver.a ../common/common.o ../parser/gs_parser.a ../comms/comms.a ../lock/lock.a ../resource/resource.a make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/client' cd parser ; make make[2]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/parser' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/parser' cd terminal ; make make[2]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/terminal' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c terminal.c x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c terminal_io.c x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c logfile_io.c logfile_io.c:89:25: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] write(flog, "\"\n", strlen("\"\n")); ^ logfile_io.c:89:25: note: include the header or explicitly provide a declaration for 'strlen' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c client.c 1 warning generated. x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c client_lib.c x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c server.c x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c server_lib.c x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c snoop.c server_lib.c:113:63: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] new_sockfd = accept(sockfd, (struct sockaddr *)&client_addr, &sin_size); ^~~~~~~~~ /usr/include/sys/socket.h:233:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I../ -c mdup.c 1 warning generated. cd ../comms ; make comms.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/comms' make[3]: 'comms.a' is up to date. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/comms' cd ../resource ; make resource.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/resource' make[3]: 'resource.a' is up to date. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/resource' cd ../parser ; make make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/parser' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/parser' cd ../lock ; make lock.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/lock' make[3]: 'lock.a' is up to date. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/lock' x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX terminal.o terminal_io.o logfile_io.o -o terminal ../common/common.o x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX client.o client_lib.o terminal_io.o logfile_io.o -o client ../common/common.o x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX server.o server_lib.o terminal_io.o logfile_io.o -o server ../common/common.o x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX snoop.o server_lib.o client_lib.o terminal_io.o logfile_io.o -o snoop ../common/common.o x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX mdup.o -o mdup ../comms/comms.a ../common/common.o ../logfile/logfile.o ../lock/lock.a ../resource/resource.a ../parser/gs_parser.a terminal_io.o logfile_io.o make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/terminal' make[1]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src' >>> Source compiled. >>> Test phase: app-mobilephone/smsclient-2.0.9a-r1 >>> Completed testing app-mobilephone/smsclient-2.0.9a-r1 >>> Install app-mobilephone/smsclient-2.0.9a-r1 into /var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/image/ make -j2 V=1 DESTDIR=/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/image/ install cd src ; make install make[1]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src' cd logfile ; make install make[2]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/logfile' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/logfile' cd client ; make install make[2]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/client' cd ../driver ; make cd ../lock ; make lock.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/lock' make[3]: 'lock.a' is up to date. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/lock' cd ../parser ; make make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/driver' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/driver' cd ../comms ; make comms.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/parser' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/parser' cd ../resource ; make resource.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/comms' make[3]: 'comms.a' is up to date. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/comms' gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../../bin/sms_address sms_address.o expand.o sms_list.o ../logfile/logfile.o ../driver/sms_driver.a ../common/common.o ../parser/gs_parser.a ../comms/comms.a ../lock/lock.a ../resource/resource.a make[3]: Entering directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/resource' make[3]: 'resource.a' is up to date. make[3]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/resource' gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -I. -Wall -pedantic -fsigned-char -DLINUX -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../../bin/sms_client sms_client.o expand.o ../logfile/logfile.o sms_list.o ../driver/sms_driver.a ../common/common.o ../parser/gs_parser.a ../comms/comms.a ../lock/lock.a ../resource/resource.a ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(usage) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(usage) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(get_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(get_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(usage) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(usage) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(usage) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(usage) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(usage) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(deliver_message) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_client.o >>> referenced by sms_client.c >>> sms_client.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in sms_address.o >>> referenced by sms_address.c >>> sms_address.o:(main) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in expand.o >>> referenced by expand.c >>> expand.o:(SMS_dual_openrc) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in expand.o >>> referenced by expand.c >>> expand.o:(SMS_dual_openrc) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in expand.o >>> referenced by expand.c >>> expand.o:(SMS_dual_openrc) ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in expand.o >>> referenced by expand.c >>> expand.o:(SMS_dual_openrc) ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) collect2: error: ld returned 1 exit status make[2]: *** [Makefile:98: ../../bin/sms_address] Error 1 make[2]: *** Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status make[2]: *** [Makefile:95: ../../bin/sms_client] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src/client' make[1]: *** [Makefile:46: install] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a/src' make: *** [Makefile:49: install] Error 2 * ERROR: app-mobilephone/smsclient-2.0.9a-r1::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=app-mobilephone/smsclient-2.0.9a-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-mobilephone/smsclient-2.0.9a-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/app-mobilephone/smsclient-2.0.9a-r1:20200727-234757.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a' * S: '/var/tmp/portage/app-mobilephone/smsclient-2.0.9a-r1/work/smsclient-2.0.9a' emerge --info: Portage 3.0.1 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.31-r6, 5.4.0-1018-aws x86_64) ================================================================= System uname: Linux-5.4.0-1018-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 7895552 total, 1394164 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 28 Jul 2020 09:07:19 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo, 3.9.0_beta5::gentoo dev-util/cmake: 3.18.0::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.2.0::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j2 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS