[brlcad-tracker] [ brlcad-Bugs-2312141 ] configure error on 64 bit systems
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2008-11-18 23:18:48
|
Bugs item #2312141, was opened at 2008-11-18 18:18 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=2312141&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compilation Group: crash or data loss Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ronald Charlton (charltrr53) Assigned to: Nobody/Anonymous (nobody) Summary: configure error on 64 bit systems Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=2312141&group_id=105292 |