Re: [squid-users] Error while compiling with option '--with-large-files'

From: Brett Lymn <brett.lymn_at_baesystems.com>
Date: Thu, 4 Apr 2013 15:56:18 +1030

On Thu, Apr 04, 2013 at 06:11:58PM +1300, Amos Jeffries wrote:
> On 4/04/2013 11:16 a.m., Brett Lymn wrote:
> >On Wed, Apr 03, 2013 at 09:53:38AM +0200, Markus Sonnenberg wrote:
> >>on solaris 10 i'm getting the following error while compiling
> >>squid-3.3.3 with option '--with-large-files'.
> >>
> >I modified the config script to use -m32 not -m64 which made this work
> >but only makes a 32bit binary. The root cause is that the link is
> >trying to link against the 32bit version of libstdc++, there is a 64bit
> >version in /usr/sfw/lib/sparcv9 but my libtool fu was weak and I could
> >not convince it to use that version.
> >
>
>
> Did you try this:
> ./configure CXXFLAGS="-L/usr/sfw/lib/sparcv9"
> or
> ./configure LDFLAGS="-L/usr/sfw/lib/sparcv9"
>
> Also, on 64-bit systems you do not have to specify large files or the
> related options since what they do is force-enable 64-bit C++ type sizes
> on 32-bit machines. On 64-bit machines the type sizes they force-enable
> are the defaults. IF the compiler is slightly broken they may even
> *downgrade* the build from 64-bit to 32-bit with some 64-bit type sizes,
> but the working compilers just ignore the options.
>

Yes I did try those but, sadly, libtool believes it knows better where
to find things and strips things out of the command line you pass it.

-- 
Brett Lymn
"Warning:
The information contained in this email and any attached files is
confidential to BAE Systems Australia. If you are not the intended
recipient, any use, disclosure or copying of this email or any
attachments is expressly prohibited.  If you have received this email
in error, please notify us immediately. VIRUS: Every care has been
taken to ensure this email and its attachments are virus free,
however, any loss or damage incurred in using this email is not the
sender's responsibility.  It is your responsibility to ensure virus
checks are completed before installing any data sent in this email to
your computer."
Received on Thu Apr 04 2013 - 05:26:29 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 04 2013 - 12:00:04 MDT