public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: Enable USE="cxx" in base/make.defaults ?
@ 2009-11-09 10:37 Samuli Suominen
  2009-11-09 20:08 ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: Samuli Suominen @ 2009-11-09 10:37 UTC (permalink / raw
  To: gentoo-dev

$subject

but disable it in profiles/uclibc/make.defaults, since AFAIK, uclibc
doesn't have libstdc++

because every ebuild adding USE="cxx" is doing EAPI="2" now, and having
it in profiles by default, would allow also EAPI="0" toolchain and
system ebuilds to stop using nocxx.

did I miss something?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] RFC: Enable USE="cxx" in base/make.defaults ?
  2009-11-09 10:37 [gentoo-dev] RFC: Enable USE="cxx" in base/make.defaults ? Samuli Suominen
@ 2009-11-09 20:08 ` Mike Frysinger
  2009-11-09 20:12   ` Samuli Suominen
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2009-11-09 20:08 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 732 bytes --]

On Monday 09 November 2009 05:37:49 Samuli Suominen wrote:
> $subject

sounds good to me

> but disable it in profiles/uclibc/make.defaults, since AFAIK, uclibc
> doesn't have libstdc++

erm, no, that isnt correct at all.  libstdc++ comes from gcc, not the C 
library.  and there is little in the C library that gcc needs for functioning 
C++ support.

ignoring that, it should be disabled by default in the uClibc profiles

> because every ebuild adding USE="cxx" is doing EAPI="2" now, and having
> it in profiles by default, would allow also EAPI="0" toolchain and
> system ebuilds to stop using nocxx.
> 
> did I miss something?

be good to finally convert nocxx ... but that's a different topic ...
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] RFC: Enable USE="cxx" in base/make.defaults ?
  2009-11-09 20:08 ` Mike Frysinger
@ 2009-11-09 20:12   ` Samuli Suominen
  2009-11-09 20:18     ` Mike Frysinger
  2009-11-09 20:20     ` Ciaran McCreesh
  0 siblings, 2 replies; 5+ messages in thread
From: Samuli Suominen @ 2009-11-09 20:12 UTC (permalink / raw
  To: gentoo-dev

Mike Frysinger wrote:
> On Monday 09 November 2009 05:37:49 Samuli Suominen wrote:
>> $subject
> 
> sounds good to me
> 
>> but disable it in profiles/uclibc/make.defaults, since AFAIK, uclibc
>> doesn't have libstdc++
> 
> erm, no, that isnt correct at all.  libstdc++ comes from gcc, not the C 
> library.  and there is little in the C library that gcc needs for functioning 
> C++ support.

ah yes, of course...

as I've never used embedded / uclibc myself, i'm a bit confused about
the function for uClibc++ package then, but that's a different story. ;)




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] RFC: Enable USE="cxx" in base/make.defaults ?
  2009-11-09 20:12   ` Samuli Suominen
@ 2009-11-09 20:18     ` Mike Frysinger
  2009-11-09 20:20     ` Ciaran McCreesh
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2009-11-09 20:18 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 800 bytes --]

On Monday 09 November 2009 15:12:03 Samuli Suominen wrote:
> Mike Frysinger wrote:
> > On Monday 09 November 2009 05:37:49 Samuli Suominen wrote:
> >> but disable it in profiles/uclibc/make.defaults, since AFAIK, uclibc
> >> doesn't have libstdc++
> >
> > erm, no, that isnt correct at all.  libstdc++ comes from gcc, not the C
> > library.  and there is little in the C library that gcc needs for
> > functioning C++ support.
> 
> ah yes, of course...
> 
> as I've never used embedded / uclibc myself, i'm a bit confused about
> the function for uClibc++ package then, but that's a different story. ;)

it's purely a matter of riding the uClibc name's coat tails.  uClibc++ is a 
mini replacement for libstdc++, but it and uClibc have no direct dependencies 
on each other.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] RFC: Enable USE="cxx" in base/make.defaults ?
  2009-11-09 20:12   ` Samuli Suominen
  2009-11-09 20:18     ` Mike Frysinger
@ 2009-11-09 20:20     ` Ciaran McCreesh
  1 sibling, 0 replies; 5+ messages in thread
From: Ciaran McCreesh @ 2009-11-09 20:20 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

On Mon, 09 Nov 2009 22:12:03 +0200
Samuli Suominen <ssuominen@gentoo.org> wrote:
> as I've never used embedded / uclibc myself, i'm a bit confused about
> the function for uClibc++ package then, but that's a different
> story. ;)

uClibc++ is a broken C++ standard library implementation that
introduces security holes into standard-compliant C++ applications.
It's not something you should be using except for packages specifically
designed for it, and it's not particularly related to uclibc.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-09 20:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 10:37 [gentoo-dev] RFC: Enable USE="cxx" in base/make.defaults ? Samuli Suominen
2009-11-09 20:08 ` Mike Frysinger
2009-11-09 20:12   ` Samuli Suominen
2009-11-09 20:18     ` Mike Frysinger
2009-11-09 20:20     ` Ciaran McCreesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox