这是indexloc提供的服务,不要输入任何密码
Skip to content

Still have underalignment in TLS segment: "alignment is 64 (skew 56)" #34

@T-3B

Description

@T-3B

After executing termux-elf-cleaner, I still have an issue of alignment.

Steps to repoduce:

$ wget https://www.ijg.org/files/jpegsrc.v9f.tar.gz  # source code of IJG jpeg tools: https://www.ijg.org
$ # extract and cd into it
$ ./configure --disable-shared
$ make jpegtran  # this is used to create static lib
$ clang -mtune=generic -flto -O3 -static jpegtran.c rdswitch.c cdjpeg.c transupp.c .libs/libjpeg.a -o jpegtran
$ ./jpegtran -help
error: "./jpegtran": executable's TLS segment is underaligned: alignment is 64 (skew 56), needs to be at least 64 for ARM64 Bionic
Aborted
$ clang --version
clang version 19.1.7

I don't really what to do (I have ndk-multilib and the static one packages).
Thank you for any answer and help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions