About different ABI between gcc and clang
Matthew Seaman
matthew at FreeBSD.org
Sat Apr 23 14:24:57 UTC 2016
On 23/04/2016 14:59, Odhiambo Washington wrote:
> On my box, I have:
>
> root at gw:/usr/home/wash # `which clang` --version
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
> Target: i386-unknown-freebsd9.3
> Thread model: posix
> root at gw:/usr/home/wash # clang --version
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
> Target: i386-unknown-freebsd9.3
> Thread model: posix
>
> root at gw:/usr/home/wash # gcc --version
> gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> root at gw:/usr/home/wash # which gcc
> /usr/bin/gcc
> root at gw:/usr/home/wash # /usr/bin/gcc --version
> gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Any suggestion on what I should do?
Those are the compilers that come with the base system. Try installing
something more recent from ports.
> I am trying to compile squid-4.0.9 which isn't in the ports.
>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203860
Not sure why that hasn't been committed yet.
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160423/4156d17c/attachment.sig>
More information about the freebsd-questions
mailing list