Re: [gentoo-user] HowTo rebuild everything same way differently

2015-04-10 Thread Philip Webb
150410 Mick wrote:
>> On 10/04/2015 19:29, meino.cra...@gmx.de wrote:
>>> My Gentoo system is kinda old ... not in the sense of not being updated
>> regularly, but in the sense of "used for a (too?) long time"
> I still have a box running the same Gentoo installation since 2005.
> I had another which died due to hardware failure
> with its original 2003 installation.

Same here : I've never re-installed Gentoo in the same machine,
but updated weekly on the everyday system & less often on the others ;
ANB2 (2003) still opens up, but won't talk to today's mice,
ANB3 (2007) has a graphics-card problem, so can't boot intelligibly,
ANB4 (2012 : this one) has no software problems,
Horace (EEE-PC 2009) was recently updated successfully after  2 yr .

Short advice : you're probably wasting your time (smile).

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Re: HowTo rebuild everything same way differently

2015-04-10 Thread Grant Edwards
On 2015-04-10, Philip Webb  wrote:
> 150410 Mick wrote:
>>> On 10/04/2015 19:29, meino.cra...@gmx.de wrote:
 My Gentoo system is kinda old ... not in the sense of not being updated
>>> regularly, but in the sense of "used for a (too?) long time"
>> I still have a box running the same Gentoo installation since 2005.
>> I had another which died due to hardware failure
>> with its original 2003 installation.
>
> Same here : I've never re-installed Gentoo in the same machine,

I've been using Gentoo on a handfull of machines for something like 13
years now, and have only re-installed a handfull of times in a few
differnt situations:

 1) Though I have done many motherboard replacements without
reinstalling, on one occasion after a hardware failure the new
motherboard and drive arrangement was different enough that I
decided to reinstall.  I'm pretty sure I could have used a livecd
or rescuecd to get the old installation tweaked and running on the
new hardware, but a reinstall seemed simpler.  

 2) RAM or root hard drive failure corrupted caused system crashes. 
After the underlying hardware problem was fixed, I didn't trust
the contents of the root fs.

 3) Switching from 32-bit install to 64 install.  That's happened a
few times, and I don't think there's a practical alternative to
reinstalling.

> but updated weekly on the everyday system & less often on the others ;
> ANB2 (2003) still opens up, but won't talk to today's mice,
> ANB3 (2007) has a graphics-card problem, so can't boot intelligibly,
> ANB4 (2012 : this one) has no software problems,
> Horace (EEE-PC 2009) was recently updated successfully after  2 yr .
>
> Short advice : you're probably wasting your time (smile).


-- 
Grant Edwards   grant.b.edwardsYow! Maybe I should have
  at   asked for my Neutron Bomb
  gmail.comin PAISLEY --




Re: [gentoo-user] Re: Is perl broken?

2015-04-10 Thread Peter Humphrey
This is a re-send of a message I sent earlier today but which seems not to 
have appeared on the list - well, I have changed it a bit:

On Tuesday 07 April 2015 23:19:18 I wrote:
> On Tuesday 07 April 2015 15:02:36 walt wrote:
> > On 04/07/2015 02:48 PM, Peter Humphrey wrote:
> > > On Tuesday 07 April 2015 22:24:38 Peter Humphrey wrote:
> > >> $ cat make.conf  # I made a local copy and removed a lot of 
comments
> > >> #CFLAGS="-O2 -march=core2 -pipe" [1]
> > > 
> > > --->8
> > > 
> > >> [1] This bothers me. Various docs tell me to specify march=corei7,
> > >> but
> > >> this is an i5 CPU. Could this be my problem?
> > 
> > Any reason you don't want to use march=native?
> 
> Not that I can think of now. I'll try it - thanks, both of you.

Countless CPU cycles later, I have now reinstalled my complete system with  
-march=native. It took several iterations.

Meanwhile,I had another problem to keep me amused - KMail decided I'd 
deleted the folder into which it receives all inbound mail. I hadn't, of 
course, but suddenly my 13000 mails were gone - vanished. So I had to create 
a new user and import them all from the previous day's backup. Tedium - 
yawn...

Still, all my filters have gone, and I'll have to define new ones as I need 
them. Oh well, I suppose it's about time I cleaned them out.

Back to the original theme, I'd been experimenting with -j and -l make 
options, and I suspect that was my real problem. I finished up with "-j -l20" 
on this i5 box, with startling results - 56 emerges in parallel for 
instance. I suspect that my problem stemmed from this.

All now seems stable so far with -j12 and no -l specified. Satisfactory CPU 
utilisation and the all-important stability.

So no, perl isn't broken  :)

-- 
Rgds
Peter



[gentoo-user] Re: HowTo rebuild everything same way differently

2015-04-10 Thread James
  gmx.de> writes:

> Therefore I want to reinstall everything the same way (read: same
> application and system funktionality) but in a different way: Using
> a new stage3 (was it "3" ...dont remember exactly) and I want to make
> the system "unstable" right from the beginning just to check, how that
> works.

> Meino

Let's assume you only have one computer but a second HD:

What I would do, is pull your existing HD and set it asside; so if you need
to you can reboot with it, check something, and switch back to the new
install as needed. Continue with what ever advice you have received
with the second HD.


Easily and quickly reversible.

If/when we have ansible based installs, something like this is almost
trivial. Maybe (wink wink, nudge nudge) we'll get a new install semantic.

Holy jeepers, batman, we do we do!

First build up a usbstick with gentoo (~arch)
https://wiki.gentoo.org/wiki/Install_Gentoo_on_a_bootable_USB_stick

Then use persistence (the precious?) to make savable changes? 
https://wiki.gentoo.org/wiki/LiveDVD-Persistence-Mode


NO second HD need, just a 16Gb usbstick (or larger) usb3 really helps!


hth,
James









[gentoo-user] crossdev i686-w64-mingw32 threads

2015-04-10 Thread Cor Legemaat
Hi all:

All the mingw-w64 windows builds have pthreads enabled and you can use
std::thread and std::mutex, how can I enable that in the gentoo crossdev
builds?

Found https://github.com/niXman/mingw-builds and
http://sourceforge.net/p/mingw/mailman/message/28014658/ but will I then
need to edit the ebuild to get it working?

Tried the pthread setup as explained on the wiki but then I can't use my
class dynamically in a program if it is using pthread_mutex.

Regards:
Cor


signature.asc
Description: This is a digitally signed message part