Menu

#199 [tpm-tools PATCH] autoconf inject unneeded -m64 to CFLAGS

Bug
open
debora
None
8
2021-06-10
2016-12-05
No

For some reason autoconf injects -m64 for 64bit toolchains this is not required, toolchain should be able to build 64bit correctly.
Please review this patch.

1 Attachments

Discussion

  • debora

    debora - 2017-03-29
    • Priority: 5 --> 8
     
  • debora

    debora - 2017-03-29

    Lowering priority since it sounds like having this unnecessary flag is not causing any problems. We would need to test patch on differenent architectures before accepting.

     
  • debora

    debora - 2017-04-10
    • assigned_to: debora
     
  • debora

    debora - 2017-05-10

    Was able to build on x86_64 with patch. Still need to test on other architectures.

     
  • Alon Bar-Lev

    Alon Bar-Lev - 2018-04-23

    please, this flag must be removed and determined by the toolchain, packages should not set this flag as it damage some of the configuration, for example building 32bit on amd64 or the new abi of linux. no package should enforce cpu specific flags.
    at gentoo maintainer I need to patch this package every new release.

     
  • Laurent Bigonville

    Any new about this bug?

    This breaks the build on x32 architecture as the target is x86_64-pc-linux-gnux32

    The compiler should already know what to do for the target architecture without this flag

     

Log in to post a comment.

MongoDB Logo MongoDB