On Thursday 25 June 2009 6:02:18 pm Stuart Henderson wrote: > On 2009/06/26 00:09, Cem Kayali wrote: > > >>I'm getting error while compiling openoffice3. This is 4.5 amd64, and > ^^^ > > >>most current version of ports. It seems it is because of gcc 4.2. > ^^^^^^^ > > As the documentation states, -current ports are meant to be used with > a -current snapshot; at the moment this will be labelled 4.6-beta. > If you are already not following this part of the documentation we > don't have a clue what else might be missing. > > If you do get -current GCC to build successfully on 4.5-something, > you are storing up problems if you do upgrade to -current or 4.6 in > the future; GCC MUST be built on the same OS version as you run it; > when you upgrade later this will be incorrect and pkg_add won't > automatically update because you're bypassing some of the things > we do to make this work.
I know that -current gcc/4.2 with gcj will not run on 4.5 or earlier due to the need for changes to the c startup objects to support gcj. > > >>gmake[4]: write error I do see the above error occasionally when building the jdks. I investigated it and it is due to pthreads setting stdin/out/err non-blocking. I looked at making gmake deal with non-blocking stdin/out/err but decided it was not worth the effort. I just restart the build when it happens. -Kurt
