Hi Andreas, > On Feb 24 2020, Lukasz Majewski wrote: > > >> elf/check-localplt complains about the newly added symbols > >> > >> Extra PLT reference: libc.so: __lutimes64 > >> Extra PLT reference: libc.so: __wait4_time64 > >> Extra PLT reference: libc.so: __setitimer64 > >> Extra PLT reference: libc.so: __utime64 > >> Extra PLT reference: libc.so: __timerfd_gettime64 > >> Extra PLT reference: libc.so: __clock_settime64 > >> Extra PLT reference: libc.so: __utimes64 > >> Extra PLT reference: libc.so: __gettimeofday64 > >> Extra PLT reference: libc.so: __clock_gettime64 > >> Extra PLT reference: libc.so: __futimesat64 > >> Extra PLT reference: libc.so: __clock_getres64 > >> Extra PLT reference: libc.so: __futimes64 > >> Extra PLT reference: libc.so: __futimens64 > >> Extra PLT reference: libc.so: __utimensat64 > >> Extra PLT reference: libc.so: __getrusage64 > >> Extra PLT reference: libc.so: __timespec_get64 > >> Extra PLT reference: libc.so: __getitimer64 > >> Extra PLT reference: libc.so: __ppoll64 > >> Extra PLT reference: libc.so: __timerfd_settime64 > >> Extra PLT reference: libc.so: __clock_nanosleep_time64 > >> Extra PLT reference: libc.so: __sched_rr_get_interval64 > >> Extra PLT reference: libc.so: __settimeofday64 > >> Extra PLT reference: librt.so: __timer_gettime64 > >> Extra PLT reference: librt.so: __mq_timedreceive_time64 > >> Extra PLT reference: librt.so: __mq_timedsend_time64 > >> Extra PLT reference: librt.so: __timer_settime64 > >> > > > > The above problems are somewhat expected. Those are redirected > > symbols, which are exported as GLIBC_PRIVATE in several Versions > > files. > > > > I do guess that we will have a consensus if we add those as a > > "normal" exported symbols or keep them "private". > > They need to grow hidden aliases. Could you explain it a bit more? If I add those functions as hidden_alias then those would be accessible inside glibc without PLT, but will not be exported (and redirection for Y2038 will not work). > > Andreas. > Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de