pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43237 (pkgsrc/lang/clang: clang++ can't find <iostream>)



The following reply was made to PR pkg/43237; it has been noted by GNATS.

From: Matthias Drochner <M.Drochner%fz-juelich.de@localhost>
To: <reed%reedmedia.net@localhost>, <joerg%britannica.bec.de@localhost>
Cc: <pkgsrc-bugs%netbsd.org@localhost>, <gnats-bugs%netbsd.org@localhost>
Subject: Re: pkg/43237 (pkgsrc/lang/clang: clang++ can't find <iostream>)
Date: Thu, 6 May 2010 18:48:25 +0200

 > What changes in NetBSD-current are needed?
 
 I was referring to the gthr-posix.h change. It needs a
 run of tools/gcc/mknative to have effect which I've only done
 for i386 (mrg will do the rest).
 
 > > /usr/include/stdlib.h:52:23: error: cannot combine with previous 'int'
 > >       declaration specifier
 > That sounds like a bug in clang++ -- it doesn't define __cplusplus.
 
 No, that's the header. The check went in after the -5 branch.
 
 > /usr/include/g++/bits/gthr-default.h:96:1: error: weakref declaration of
 >       '__gthrw_pthread_once' must be static
 
 This is fixed by the gthr-posix patch. You could ally it manually to
 gthr-default.h for testing.
 
 > I am hoping I don't have to upgrade to netbsd-current to use clang.
 
 Don't know... If you get further with these patches pulled in,
 we can consider pullups.
 C language support is pretty good in 2.7 (as it as in 2.6 already);
 for C++ it is advisable to use the wip snapshot because this is
 developing rapidly.
 
 best regards
 Matthias
 
 
 
 ---------------------------------------------------------------------------=
 ---------------------
 ---------------------------------------------------------------------------=
 ---------------------
 Forschungszentrum Juelich GmbH
 52425 Juelich
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
 Prof. Dr. Sebastian M. Schmidt
 ---------------------------------------------------------------------------=
 ---------------------
 ---------------------------------------------------------------------------=
 ---------------------
 


Home | Main Index | Thread Index | Old Index