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

build module icp: compiler warning : objtool unsupported stack pointer realignment #9334

Closed
IslandLife opened this issue Sep 18, 2019 · 2 comments
Labels
Type: Building Indicates an issue related to building binaries

Comments

@IslandLife
Copy link

System information

Type Version/Name
Distribution Name Ubuntu
Distribution Version Ubuntu 19.04 disco
Linux Kernel 5.0.0-27-generic
Architecture x86_64
ZFS Version 0.8.0 280_gfcd37b622
SPL Version -

Describe the problem you're observing

Warnings on compilation produced by this compiler .

# gcc --version
gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0

These are also present in previous (<#280) releases.
As warnings (and not errors) the build continues - but it does leave a doubt if the
module functions as it should.

Describe how to reproduce the problem

git clone
cd zfs
./autogen
./configure prefix=
make

Include any warning/errors/backtraces from the system logs

Example:

Making all in module
/zfs_on_linux/zfs/module/icp/asm-x86_64/sha1/sha1-x86_64.o: warning: objtool: sha1_block_data_order()+0x11: unsupported stack pointer realignment
/zfs_on_linux/zfs/module/icp/asm-x86_64/sha2/sha256_impl.o: warning: objtool: SHA256TransformBlocks()+0x19: unsupported stack pointer realignment
/zfs_on_linux/zfs/module/icp/asm-x86_64/sha2/sha512_impl.o: warning: objtool: SHA512TransformBlocks()+0x1c: unsupported stack pointer realignment

@behlendorf
Copy link
Contributor

@IslandLife thanks for reporting this. These warnings are safe to ignore and were investigated in #6950 but not yet resolved.

@stale
Copy link

stale bot commented Sep 17, 2020

This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale No recent activity for issue label Sep 17, 2020
@stale stale bot closed this as completed Dec 16, 2020
@behlendorf behlendorf removed the Status: Stale No recent activity for issue label Dec 16, 2020
@behlendorf behlendorf reopened this Dec 16, 2020
@behlendorf behlendorf added the Type: Building Indicates an issue related to building binaries label Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

No branches or pull requests

2 participants