Hi

On 2024-01-06 21:04:22 +0300, Nicholas Guriev wrote:
> Hello!
> 
> On 06.01.2024 00:09:14 MSK you wrote:
> > CMakeFiles/td_scheme.dir/gen/scheme.cpp.o: in function 
> > `MTPDchannel::read(int const*&, int const*)':
> > ./obj-mips64el-linux-gnuabi64/Telegram/./obj-mips64el-linux-gnuabi64/Telegram/gen/scheme.cpp:16435:(.text+0x1600a0):
> >  relocation truncated to fit: R_MIPS_GOT_PAGE against `.text'
> > CMakeFiles/td_scheme.dir/gen/scheme.cpp.o: in function `MTPDuser::read(int 
> > const*&, int const*)':
> > ./obj-mips64el-linux-gnuabi64/Telegram/./obj-mips64el-linux-gnuabi64/Telegram/gen/scheme.cpp:15827:(.text+0x16139c):
> >  relocation truncated to fit: R_MIPS_GOT_PAGE against `.text'
> > collect2: error: ld returned 1 exit status
> 
> Sorry, I have no idea how to properly fix this linker error. The 
> aforementioned
> translation unit already uses compiler flags -mxgot -fPIC. They helped before.
> It seems the scheme.cpp has reached the limit of code size of single TU.
> 
> Primary platform for Telegram Desktop is amd64; arm64 is also somewhat 
> popular.
> This issue is platform specific. And I daresay it is not that serious to block
> release on unaffected architectures.

Then please get the mips64el binaries removed and stop building the
package on the platform. Otherwise it will continue to block
telegram-desktop from migrating.

Cheers
-- 
Sebastian Ramacher

Reply via email to