Menu

#195 configure error on 64 bit systems

open-remind
nobody
3
2008-11-19
2008-11-18
No

The configure script does not account for the --disable-64bit-build flag when building on a 64 bit system for a 32 bit target. If the 64 bit system has both a 32 bit gcc and a 64 bit gcc installed, and a 32 bit build is selected(not easy btw) the /lib64 path will always be included in the LD_FLAGS macro for the makefiles. This causes the 32 bit link to fial because the linker is trying to use the 64 bit libraries, which are in a format that is does not recognize. As a result, the 32 bit build fails.

This was attempted on a centos 5 installation that had been upgraded to gcc 4.2. The upgraded installation included both a 32 bit and 64 bit compiler capability.

The only work around I could find was to edit configure and remove the references to the /lib64 directory.

Discussion

  • Sean Morrison

    Sean Morrison - 2008-11-19
    • milestone: 387260 --> other bug / workaround
    • priority: 5 --> 3
    • status: open --> open-remind
     
  • Sean Morrison

    Sean Morrison - 2008-11-19

    There are a couple issues with the automatic 32-bit/64-bit compilation toggling at the moment that basically require that the appropriate flags be preset during configure and make. This problem will probably get looked into at some point down the road but at the moment it's pretty low priority given our current manpower resources and other concurrent tasks. Patches are welcome.. ;-)

     

Log in to post a comment.