Re: Are clang++ and libc++ compatible?

2013-11-13 Thread David Chisnall
On 12 Nov 2013, at 18:21, John Baldwin wrote: >> struct foo { >> struct foo bar; >> } > > Except it isn't. It's declaring the head of a container. This is more > like: > > struct foo { > TAILQ_HEAD(, foo) messages; > }; Eitan is correct here. The definition of std:

Re: Are clang++ and libc++ compatible?

2013-11-13 Thread Zhihao Yuan
On Wed, Nov 13, 2013 at 5:04 AM, David Chisnall wrote: > A deque is more akin to an array, so in C it would be something like: > [...] > This is clearly nonsense - you can't have a structure that contains itself. > [...] > An implementation of the vector class might allocate all of the elements on

Re: Are clang++ and libc++ compatible?

2013-11-13 Thread Zhihao Yuan
On Wed, Nov 13, 2013 at 2:29 AM, Shane Ambler wrote: > A possible solution I found looking into this is to wrap the Entry > reference in a std::unique_ptr - so changing - > std::deque messages; > to - > std::deque> messages; This "fix" is wrong. (Smart) pointers of T have comparison behaviors di

Re: Are clang++ and libc++ compatible?

2013-11-13 Thread Zhihao Yuan
On Wed, Nov 13, 2013 at 9:51 AM, Zhihao Yuan wrote: >> An implementation of the vector class might allocate all of the elements on >> the heap lazily, but it's not required to and could equally have space for a >> small number inside the object, expanding to something like this: >> >> struct Ent

libc++ vs. libstdc++ usage in the ports tree (was: Re: Are clang++ and libc++ compatible?)

2013-11-13 Thread Marcus von Appen
Steve Kargl : [...] Sigh. Adding USE_GCC isn't the solution. % pan Segmentation fault (core dumped) % ldd /usr/local/bin/pan | grep ++ libstdc++.so.6 => /usr/local/lib/gcc46/libstdc++.so.6 (0x3c52bf000) libc++.so.1 => /usr/lib/libc++.so.1 (0x3c81ea000) This can't be good. A

Re: libc++ vs. libstdc++ usage in the ports tree (was: Re: Are clang++ and libc++ compatible?)

2013-11-13 Thread Andreas Nilsson
https://wiki.freebsd.org/NewC++Stack says things about linking against both libc++ and libstdc++ , do they still apply? Best regards Andreas ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubsc

Re: libc++ vs. libstdc++ usage in the ports tree (was: Re: Are clang++ and libc++ compatible?)

2013-11-13 Thread Ryan Stone
On Wed, Nov 13, 2013 at 11:31 AM, Marcus von Appen wrote: > This brings up another point into which I am running with the previously > discussed blender issue. > > Let's assume port A_defcompiler does not specify a compiler and c++ lib, it > will default to libc++ and clang++ on 10.x or newer, cor

Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf

2013-11-13 Thread George Kontostanos
On Tue, Nov 12, 2013 at 1:13 PM, Erwin Lansing wrote: > On Wed, Nov 06, 2013 at 02:59:15PM +0100, Erwin Lansing wrote: > > >> E> > > > >> E> > Erwin, can you please handle that? > > >> E> > > >> E> Things are much worse that this, the ports are completely written > under the assumption that there

Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf

2013-11-13 Thread George Kontostanos
On Wed, Nov 13, 2013 at 7:59 PM, George Kontostanos wrote: > On Tue, Nov 12, 2013 at 1:13 PM, Erwin Lansing wrote: > >> On Wed, Nov 06, 2013 at 02:59:15PM +0100, Erwin Lansing wrote: >> > >> E> > >> > >> E> > Erwin, can you please handle that? >> > >> E> >> > >> E> Things are much worse that this

Re: libc++ vs. libstdc++ usage in the ports tree (was: Re: Are clang++ and libc++ compatible?)

2013-11-13 Thread Steve Kargl
On Wed, Nov 13, 2013 at 12:52:16PM -0500, Ryan Stone wrote: > On Wed, Nov 13, 2013 at 11:31 AM, Marcus von Appen wrote: > > This brings up another point into which I am running with the previously > > discussed blender issue. > > > > Let's assume port A_defcompiler does not specify a compiler and

Re: libc++ vs. libstdc++ usage in the ports tree

2013-11-13 Thread Andriy Gapon
on 13/11/2013 19:52 Ryan Stone said the following: > In my experience libstdc++ does not have good ABI stability between versions In my experience it does. In either case compatibility between different versions of relatively modern libstdc++ version is no doubt much better than between libstdc++

Re: libc++ vs. libstdc++ usage in the ports tree

2013-11-13 Thread Dimitry Andric
On 13 Nov 2013, at 19:51, Andriy Gapon wrote: > on 13/11/2013 19:52 Ryan Stone said the following: >> In my experience libstdc++ does not have good ABI stability between versions > > In my experience it does. > In either case compatibility between different versions of relatively modern > libstdc

Re: new Xorg (KMS, etc.) for Radeon 9600

2013-11-13 Thread Jean-Sébastien Pédron
Le 10/11/2013 18:20, d...@gmx.com a écrit : drmn0: info: GTT: 0M 0xF000 - 0xEFFF Tijl Coosemans is right, the problem is this line. As I don't really now how AGP works and have no AGP hardware to reproduce the problem, can you post the output of the following commands as a start?

Re: WEAK_REFERENCE?

2013-11-13 Thread Andreas Tobler
On 11.11.13 08:47, Konstantin Belousov wrote: > On Sat, Nov 09, 2013 at 11:16:08PM +0100, Andreas Tobler wrote: >> Hi all, >> >> anyone interested in this patch to remove the WEAK_ALIAS and introduce >> the WEAK_REFERENCE? >> >> http://people.freebsd.org/~andreast/weak_ref.amd64.diff >> >> I have t

buildworld error on -current

2013-11-13 Thread Nilton Jose Rizzo
Hi all, I have some problens with -current: building shared library librpcsvc.so.5 ===> lib/libsbuf (all) ===> lib/libtacplus (all) ===> lib/libutil (all) ===> lib/libypclnt (all) ===> lib/libcxxrt (all) ===> lib/libc++ (all) c++ -O2 -pipe -I/usr/src/lib/libc++/../../contrib/libc++/incl

CAM panic with tethered Virgin Mobile Mifi 2200

2013-11-13 Thread Don Lewis
I've had a Virgin Mobile MiFi 2200 CDMA modem for a few years that I've successfully been using in tethered mode on my 8-STABLE laptop. The only issue is that I have to do a camcontrol eject to get it to switch from being a umass device to being a modem. Today I decided to try to add this device

Re: WEAK_REFERENCE?

2013-11-13 Thread Konstantin Belousov
On Wed, Nov 13, 2013 at 10:18:27PM +0100, Andreas Tobler wrote: > On 11.11.13 08:47, Konstantin Belousov wrote: > > On Sat, Nov 09, 2013 at 11:16:08PM +0100, Andreas Tobler wrote: > >> Hi all, > >> > >> anyone interested in this patch to remove the WEAK_ALIAS and introduce > >> the WEAK_REFERENCE?