-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Failed to compile os/linux/zfs/zfs_ioctl_os.c with clang lto #11987
Labels
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
Comments
12101111
added
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
labels
May 1, 2021
This does not seem be related to clang. I get the same error with gcc 11.1.0. Just renaming the --- fs/zfs/zfs/../os/linux/zfs/zfs_ioctl_os.c 2021-05-04 18:43:53.535888774 -0000
+++ fs/zfs/zfs/../os/linux/zfs/zfs_ioctl_os.c 2021-05-04 18:27:06.483643681 -0000
@@ -283,7 +283,7 @@
#endif
static int __init
-_init(void)
+openzfs_init(void)
{
int error;
@@ -319,7 +319,7 @@
}
#if defined(_KERNEL)
-module_init(_init);
+module_init(openzfs_init);
module_exit(_fini);
#endif |
rincebrain
added a commit
to rincebrain/zfs
that referenced
this issue
May 16, 2021
Closes: openzfs#11987 Closes: openzfs#12056 Suggested-by: @ensch Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
13 tasks
rincebrain
added a commit
to rincebrain/zfs
that referenced
this issue
May 17, 2021
Renamed _fini too for symmetry. Closes: openzfs#11987 Closes: openzfs#12056 Suggested-by: @ensch Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
behlendorf
pushed a commit
to behlendorf/zfs
that referenced
this issue
May 28, 2021
Renamed _fini too for symmetry. Suggested-by: @ensch Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes openzfs#12059 Closes: openzfs#11987 Closes: openzfs#12056
sempervictus
pushed a commit
to sempervictus/zfs
that referenced
this issue
May 31, 2021
Renamed _fini too for symmetry. Suggested-by: @ensch Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes openzfs#12059 Closes: openzfs#11987 Closes: openzfs#12056
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this issue
Jun 10, 2021
Renamed _fini too for symmetry. Suggested-by: @ensch Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes openzfs#12059 Closes: openzfs#11987 Closes: openzfs#12056
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
System information
Describe the problem you're observing
Describe how to reproduce the problem
Enable
CONFIG_LTO_CLANG_THIN
Include any warning/errors/backtraces from the system logs
Run this command:
stderr:
end of stdout:
The broken line is
Format by hand:
The text was updated successfully, but these errors were encountered: