About different ABI between gcc and clang

Odhiambo Washington odhiambo at gmail.com
Sat Apr 23 14:41:31 UTC 2016


On 23 April 2016 at 17:24, Matthew Seaman <matthew at freebsd.org> wrote:

> 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
>
>
Heheee, I knew with you I can never go wrong! Now I am smiling from cheek
to cheek!!

Have a blessed one, and may you live long!!!!



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."


More information about the freebsd-questions mailing list