Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* "unofficial" redhat releases/testing builds
@ 2003-02-03 18:16 Ted Goodridge, Jr
  2003-02-03 18:19 ` John Jasen
                   ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: Ted Goodridge, Jr @ 2003-02-03 18:16 UTC (permalink / raw)
  To: axp-list

I was wondering if it would be possible to get a snapshot of alpha build
system.  I was hoping maybe to test it, but how does one do a fresh install
say from rawhide alpha.rpm?

Also, I don't think I ever got an answer to building the entire redhat
system from scratch via srpm.  Is there an easy way of doing this?  Mike @
Redhat said this would be of great use to them, but is there a script or
something similar to where if I have all the SRPMs in a chroot (I would need
help setting that up too...) and I can launch it and have it build all night
(or days...)?

GCC 3.2 is supposed to have great advancements in optimization for the alpha
platform.  I would also love to have the new Glibc.

I have lots of time on my hands as I have recently lost my job.

Any help is greatly appreciated,
Ted

P.S.  Has XFree 4.3.0 been officially released yet?





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

* Re: "unofficial" redhat releases/testing builds
  2003-02-03 18:16 "unofficial" redhat releases/testing builds Ted Goodridge, Jr
@ 2003-02-03 18:19 ` John Jasen
  2003-02-04  5:02   ` Mike A. Harris
  2003-02-03 20:38 ` Stefan van der Eijk
  2003-02-03 20:49 ` alpha] " R P Herrold
  2 siblings, 1 reply; 30+ messages in thread
From: John Jasen @ 2003-02-03 18:19 UTC (permalink / raw)
  To: axp-list

On Mon, 3 Feb 2003, Ted Goodridge, Jr wrote:

> Also, I don't think I ever got an answer to building the entire redhat
> system from scratch via srpm.  Is there an easy way of doing this?  Mike @
> Redhat said this would be of great use to them, but is there a script or
> something similar to where if I have all the SRPMs in a chroot (I would need
> help setting that up too...) and I can launch it and have it build all night
> (or days...)?

It is not easy. A lot of the packages depend on each other.

I'd be curious as to how redhat does it, but knowing my luck, thats trade
secret, copyrighted, patented, and/or covered under DCMA.


--
-- John E. Jasen (jjasen1@umbc.edu)
-- User Error #2361: Please insert coffee and try again.




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-03 18:16 "unofficial" redhat releases/testing builds Ted Goodridge, Jr
  2003-02-03 18:19 ` John Jasen
@ 2003-02-03 20:38 ` Stefan van der Eijk
  2003-02-03 20:49 ` alpha] " R P Herrold
  2 siblings, 0 replies; 30+ messages in thread
From: Stefan van der Eijk @ 2003-02-03 20:38 UTC (permalink / raw)
  To: axp-list

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

Ted,

Check out: http://eijk.homelinux.org/~stefan/slbd.html. It's the script 
I use to automatically rebuild Mandrake's distro on the alpha. The 
script uses urpmi quite a lot. To use the script on RH you'll probably 
have to port urpmi over to RH, and since RH is using a newer version 
rpm, this can be quite some work.

I don't run it in a chroot environment, but I use a dedicated & empty 
system for it. In theory the package should rebuild if basesystem + 
rpm-build + BuildRequires are installed on the system. The script 
installs the BuildRequires and attempts to rebuild. Often the 
BuildRequires are incomplete or incorrect, resulting in failed builds.

I alsa keep the build outputs online. Check out: 
http://eijk.homelinux.org/build/cooker/

Stefan van der Eijk



Ted Goodridge, Jr wrote:

>I was wondering if it would be possible to get a snapshot of alpha build
>system.  I was hoping maybe to test it, but how does one do a fresh install
>say from rawhide alpha.rpm?
>
>Also, I don't think I ever got an answer to building the entire redhat
>system from scratch via srpm.  Is there an easy way of doing this?  Mike @
>Redhat said this would be of great use to them, but is there a script or
>something similar to where if I have all the SRPMs in a chroot (I would need
>help setting that up too...) and I can launch it and have it build all night
>(or days...)?
>
>GCC 3.2 is supposed to have great advancements in optimization for the alpha
>platform.  I would also love to have the new Glibc.
>
>I have lots of time on my hands as I have recently lost my job.
>
>Any help is greatly appreciated,
>Ted
>
>P.S.  Has XFree 4.3.0 been officially released yet?
>
>
>
>
>_______________________________________________
>Axp-list mailing list
>Axp-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/axp-list
>
>  
>


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3403 bytes --]

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

* Re: alpha] "unofficial" redhat releases/testing builds
  2003-02-03 18:16 "unofficial" redhat releases/testing builds Ted Goodridge, Jr
  2003-02-03 18:19 ` John Jasen
  2003-02-03 20:38 ` Stefan van der Eijk
@ 2003-02-03 20:49 ` R P Herrold
  2003-02-03 23:24   ` Mike Barnes
  2 siblings, 1 reply; 30+ messages in thread
From: R P Herrold @ 2003-02-03 20:49 UTC (permalink / raw)
  To: axp-list

On Mon, 3 Feb 2003, Ted Goodridge, Jr wrote:

> Also, I don't think I ever got an answer to building the entire redhat
> system from scratch via srpm.  Is there an easy way of doing this?  Mike @
> Redhat said this would be of great use to them, but is there a script or
> something similar to where if I have all the SRPMs in a chroot (I would need
> help setting that up too...) and I can launch it and have it build all night
> (or days...)?

There is not an easy answer to this one on auto-rebuilders.  
I ahve a trivial script which walks through SRPMS, building 
what is can, and leaving error file remnants of what it cannot 
at:
   ftp://ftp.owlriver.com/pub/local/ORC/ORCrebuild/ORCrebuild

and tried to kick off a discussion on the topic at on 
rpm-list:   
    https://listman.redhat.com/mailman/private/rpm-list/2003-January/017586.html
   and
on aurora-sparc-devel@linuxpower.org:
    http://lists.linuxpower.org/pipermail/aurora-sparc-devel/2003-January/001781.html

---------------------

The first listed script will rebuild about 2/3 of my SRPM
archive of a couple thousand, unattended [takes several days,
btw ...].  Most of the remaining failures are from missing
build dependencies [bith explicit within the .specfile, and
simply functioally needed].  I would like to script having
that script pull and install missing BuildRequires items 
within the .specfile automatically, but have not gotten to it.  

I am working toward that issue on a couple of fronts.  The 
'yum' tool does hands off dependency solving, in a fashion 
which lends itself well to using as the install agent.  

Probably less that 10% of the files out there really _need_ 
manual intervention to get built -- 

My poor little Multia is sitting, patiently, powered off and
next to my SparcStation 2, staring at me with sad eyes, to get
this project advanced, but I had my local SRPM mirror unit 
have a hard drive die last Thursday, and I am not fully back 
online yet.

-- Russ Herrold




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-03 20:49 ` alpha] " R P Herrold
@ 2003-02-03 23:24   ` Mike Barnes
  0 siblings, 0 replies; 30+ messages in thread
From: Mike Barnes @ 2003-02-03 23:24 UTC (permalink / raw)
  To: axp-list

R P Herrold wrote:
> There is not an easy answer to this one on auto-rebuilders.  
> I ahve a trivial script which walks through SRPMS, building 
> what is can, and leaving error file remnants of what it cannot 
> at:

I don't have time to debug scripts and get something like this working, 
but if someone else does (and can produce a simple setup doc) then I 
have a 466MHz DS10 sitting on my desk that can sit and compile for weeks 
on end, if necessary.

I'm more than happy to donate some CPU time and disk space to the cause. :)




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-03 18:19 ` John Jasen
@ 2003-02-04  5:02   ` Mike A. Harris
  2003-02-04 18:50     ` John Jasen
  0 siblings, 1 reply; 30+ messages in thread
From: Mike A. Harris @ 2003-02-04  5:02 UTC (permalink / raw)
  To: axp-list

On Mon, 3 Feb 2003, John Jasen wrote:

>> Also, I don't think I ever got an answer to building the entire redhat
>> system from scratch via srpm.  Is there an easy way of doing this?  Mike @
>> Redhat said this would be of great use to them, but is there a script or
>> something similar to where if I have all the SRPMs in a chroot (I would need
>> help setting that up too...) and I can launch it and have it build all night
>> (or days...)?
>
>It is not easy. A lot of the packages depend on each other.
>
>I'd be curious as to how redhat does it, but knowing my luck, thats trade
>secret,

All of the software is in the anaconda-runtime package included 
with Red Hat Linux.  Florian laroche has a package on his ftp or 
http space to aide in setting up a build environment.  This is 
the same type of chroot environment that many Red Hatters use on 
their own systems.  I've written my own custom scripts to handle 
it, Florian's are more complete however.

http://people.redhat.com/laroche/rpmutils.tar.gz


> copyrighted,

All software written by anyone, is copyrighted.  The author of a
piece of software automatically is the copyright owner of that
software.  As the owner of the copyright, you decide whom can and
can not use your work, and under what conditions.  This is called
a "license".  The license, is the rights you are granting to
another person, persons, or other group of people potentially
including everyone.

The term "copyright" and "license" are often used 
interchangeably, however they have _very_ different meanings.  
And those meanings also vary around the world.  In Germany for 
example, copyright has 2 meanings, one is more like a 
"birthright" here which you can not ever give up, and the other 
is similar to "copyright" here.


> patented,

http://www.redhat.com/legal/patent_policy.html


> and/or covered under DCMA.

Please explain this one.  I haven't yet begun to understand what 
you are implying here.

Also, please in the future research these things before making 
false assumptions and/or poor and unfounded accusations and/or 
spreading FUD.


-- 
Mike A. Harris     ftp://people.redhat.com/mharris
OS Systems Engineer - XFree86 maintainer - Red Hat




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-04  5:02   ` Mike A. Harris
@ 2003-02-04 18:50     ` John Jasen
  2003-02-12 17:06       ` a way to start " John Jasen
  0 siblings, 1 reply; 30+ messages in thread
From: John Jasen @ 2003-02-04 18:50 UTC (permalink / raw)
  To: axp-list

On Tue, 4 Feb 2003, Mike A. Harris wrote:

> Also, please in the future research these things before making
> false assumptions and/or poor and unfounded accusations and/or
> spreading FUD.

And where did I exactly make unfounded accusations or spead FUD? I said,
"knowing my luck, its " X, Y and Z.

I also said, which the above comment referenced, that I would like to know
how its done at redhat, as I've given some thought lately to totally
rebuilding from source RPM, and a lot of my prior attempts ended in
a good many circular dependencies, and sometimes --force --nodeps helps,
other times, it hurts like hell.

To take a directory full of raw src.rpms and get it to a directory full of
$arch.rpms is a non-trivial task, but made easier if you're running RH7.3
and compiling RH73 src.rpms. To do it across major version numbers is much
more complicated IMNSHO -- so doing something like using a hypothetical
rh7.3 system to make a rh8.0 distro would (just guessing) involve a
chroot set up, compiling and installing intermediate 'bootstrap' rpms into
that chroot (making it a rh73/rh80 mish-mash), then recompiling the
bootstrat rpms in that environment, updating them, and processing the
rest of the src.rpms.

Non-trivial, but RH somehow gets releases out the door.

So, non-trivial, and someone does it, generally better than their
competitors. I would expect parts of that to be 'protected'.

--
-- John E. Jasen (jjasen1@umbc.edu)
-- User Error #2361: Please insert coffee and try again.




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

* Re: "unofficial" redhat releases/testing builds
       [not found] <20030203232701.CA3693F5D6@listman.redhat.com>
@ 2003-02-07 17:31 ` Stephen Lewis
  2003-02-07 20:17   ` Ted Goodridge
  0 siblings, 1 reply; 30+ messages in thread
From: Stephen Lewis @ 2003-02-07 17:31 UTC (permalink / raw)
  To: axp-list

There is a very good discussion and method for how
to build and install Linux from scratch at
http://linuxfromscratch.org/
You won't end up with RedHat 8.0 but
you should be able to make an up-to-date
working Linux from sources for your own platform,

Stephen Lewis

> Subject: 
>          "unofficial" redhat releases/testing builds
>      Date: 
>          Mon, 3 Feb 2003 12:16:33 -0600
>     From: 
>          "Ted Goodridge, Jr" <tedgoodridgejr@acm.org>
>  Reply-To: 
>          axp-list@redhat.com
>       To: 
>          <axp-list@redhat.com>
> 
> 
> 
> I was wondering if it would be possible to get a snapshot of alpha build
> system.  I was hoping maybe to test it, but how does one do a fresh
> install
> say from rawhide alpha.rpm?
> 
> Also, I don't think I ever got an answer to building the entire redhat
> system from scratch via srpm.  Is there an easy way of doing this?  Mike
> @
> Redhat said this would be of great use to them, but is there a script or
> something similar to where if I have all the SRPMs in a chroot (I would
> need
> help setting that up too...) and I can launch it and have it build all
> night
> (or days...)?
> 
> GCC 3.2 is supposed to have great advancements in optimization for the
> alpha
> platform.  I would also love to have the new Glibc.
> 
> I have lots of time on my hands as I have recently lost my job.
> 
> Any help is greatly appreciated,
> Ted
> 
> P.S.  Has XFree 4.3.0 been officially released yet?
> 
> 
>




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-07 17:31 ` Stephen Lewis
@ 2003-02-07 20:17   ` Ted Goodridge
  2003-02-10  6:53     ` Mike A. Harris
  0 siblings, 1 reply; 30+ messages in thread
From: Ted Goodridge @ 2003-02-07 20:17 UTC (permalink / raw)
  To: axp-list

That is a pain in the neck for alpha.   There are separate patches you have to 
apply etc to get it to work on alpha.  Its possible, but definately not easy.

I also like SRPMs because they get you a binary RPM that you can install later 
:) (If you find your system works, you can use an installer to make a fresh 
system.)

Ted

On Friday 07 February 2003 11:31 am, Stephen Lewis wrote:
> There is a very good discussion and method for how
> to build and install Linux from scratch at
> http://linuxfromscratch.org/
> You won't end up with RedHat 8.0 but
> you should be able to make an up-to-date
> working Linux from sources for your own platform,
>
> Stephen Lewis
>
> > Subject:
> >          "unofficial" redhat releases/testing builds
> >      Date:
> >          Mon, 3 Feb 2003 12:16:33 -0600
> >     From:
> >          "Ted Goodridge, Jr" <tedgoodridgejr@acm.org>
> >  Reply-To:
> >          axp-list@redhat.com
> >       To:
> >          <axp-list@redhat.com>
> >
> >
> >
> > I was wondering if it would be possible to get a snapshot of alpha build
> > system.  I was hoping maybe to test it, but how does one do a fresh
> > install
> > say from rawhide alpha.rpm?
> >
> > Also, I don't think I ever got an answer to building the entire redhat
> > system from scratch via srpm.  Is there an easy way of doing this?  Mike
> > @
> > Redhat said this would be of great use to them, but is there a script or
> > something similar to where if I have all the SRPMs in a chroot (I would
> > need
> > help setting that up too...) and I can launch it and have it build all
> > night
> > (or days...)?
> >
> > GCC 3.2 is supposed to have great advancements in optimization for the
> > alpha
> > platform.  I would also love to have the new Glibc.
> >
> > I have lots of time on my hands as I have recently lost my job.
> >
> > Any help is greatly appreciated,
> > Ted
> >
> > P.S.  Has XFree 4.3.0 been officially released yet?
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-07 20:17   ` Ted Goodridge
@ 2003-02-10  6:53     ` Mike A. Harris
  2003-02-10 19:02       ` George France
  0 siblings, 1 reply; 30+ messages in thread
From: Mike A. Harris @ 2003-02-10  6:53 UTC (permalink / raw)
  To: axp-list

On Fri, 7 Feb 2003, Ted Goodridge wrote:

>That is a pain in the neck for alpha.   There are separate patches you have to 
>apply etc to get it to work on alpha.  Its possible, but definately not easy.
>
>I also like SRPMs because they get you a binary RPM that you can install later 
>:) (If you find your system works, you can use an installer to make a fresh 
>system.)

For do-it-yourselfers, the gotchas are the kernel, glibc, gcc, 
and other core infrastructure components.  Most of the distro is 
basically just a rebuild, with very few Alpha specific changes, 
and many of those aren't even specific to Alpha, but are 64bit or 
similar fixes.  The kernel, glibc, gcc and other major packages 
are where the largest amounts of work need to be done on a new 
distro release for a given architecture.  I don't know the status 
of Alpha running with 8.0ish or later treebase is though.  I've 
been planning on experimenting for ages but haven't had the time.  
;o/

I'm guessing that George France probably knows the current state
better than anyone though, so I'll let him comment if he's 
around...

Take care,
TTYL

-- 
Mike A. Harris     ftp://people.redhat.com/mharris
OS Systems Engineer - XFree86 maintainer - Red Hat




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-10  6:53     ` Mike A. Harris
@ 2003-02-10 19:02       ` George France
  2003-02-10 19:12         ` Falk Hueffner
  0 siblings, 1 reply; 30+ messages in thread
From: George France @ 2003-02-10 19:02 UTC (permalink / raw)
  To: axp-list, Mike A. Harris

On Monday 10 February 2003 01:53 am, Mike A. Harris wrote:
> For do-it-yourselfers, the gotchas are the kernel, glibc, gcc,
> and other core infrastructure components.  Most of the distro is
> basically just a rebuild, with very few Alpha specific changes,
> and many of those aren't even specific to Alpha, but are 64bit or
> similar fixes.  The kernel, glibc, gcc and other major packages
> are where the largest amounts of work need to be done on a new
> distro release for a given architecture.  I don't know the status
> of Alpha running with 8.0ish or later treebase is though.  I've
> been planning on experimenting for ages but haven't had the time.
> ;o/
>
> I'm guessing that George France probably knows the current state
> better than anyone though, so I'll let him comment if he's
> around...

As for the kernel, Jeff Wiedemeier and my self have been working on a 
2.4.18-24 update kernel for RH-7.2 for Alpha.  We are attempting to get all 
of the "acceptable" bits in to the 2.4.22 and 2.5.x kernel.org kernels. There 
are still several bits / drivers that will never be in the stock kernel.org 
kernels.  This includes but is not limited to the ferel driver and the 
forward port of 2.4.3 tulip driver.  I would suggest that when 2.4.18-24 for 
RH-7.2 for alpha is available for download, that do-it-yourselfers download 
and install the src rpm and dig through the patches.  All of the patches from 
us should have 'hp' in the file name.

A complete toolchain is made from lots of programs (gcc, binutils, glibc, gdb, 
support tools ( m4, perl, autoconf, automake, bison, flex, autobook, tcl, tk, 
dejagnu, make, gettext, etc..)).  It takes all these applications plus more, 
to make a complete working toolchain.  These programs work together as a 
team.  If one link in the chain is broken, then the entire chain is usually 
broken. For example, If you change the change the version of perl, that you 
use to build autoconf / automake, then you get different gcc testsuite 
results.  Finding the best combinations for an architecture can be very time 
consuming.  As for gcc 3.2.x, it has about twenty-five serious bugs on the 
Alpha Archtecture, that IMHO need to be addressed before I would be happy to 
ship it for commercial use.  Many of  these issues are with the optimizer or 
EV6 / EV67 related.  For the careful do-it-yourselfer, this may not be an 
issue as you could just use -O1 -mcpu=ev5 for building problem applications.

As for the near future, when 2.4.18-24 has been tested and is ready to be made 
available, we will probably create new ISO images with all the current 
updates for RH-7.2 for Alpha, as having people down load the current set of 
ISOs images plus 500+ MBytes of updates does not make much sense (IMHO).

I hope this helps.

Best Regards,



--George






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

* Re: "unofficial" redhat releases/testing builds
  2003-02-10 19:02       ` George France
@ 2003-02-10 19:12         ` Falk Hueffner
  2003-02-10 21:34           ` George France
  0 siblings, 1 reply; 30+ messages in thread
From: Falk Hueffner @ 2003-02-10 19:12 UTC (permalink / raw)
  To: axp-list

George France <france@handhelds.org> writes:

> As for gcc 3.2.x, it has about twenty-five serious bugs on the Alpha
> Archtecture, that IMHO need to be addressed before I would be happy
> to ship it for commercial use.  Many of these issues are with the
> optimizer or EV6 / EV67 related.

Hm, do you have more information about them? I can only find a handful
in the gcc bug tracking system.

-- 
	Falk




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-10 19:12         ` Falk Hueffner
@ 2003-02-10 21:34           ` George France
  2003-02-10 21:43             ` Falk Hueffner
  2003-02-11  4:14             ` Ted Goodridge
  0 siblings, 2 replies; 30+ messages in thread
From: George France @ 2003-02-10 21:34 UTC (permalink / raw)
  To: axp-list, Falk Hueffner; +Cc: Jay Estabrook, Will

On Monday 10 February 2003 02:12 pm, Falk Hueffner wrote:
> George France <france@handhelds.org> writes:
> > As for gcc 3.2.x, it has about twenty-five serious bugs on the Alpha
> > Archtecture, that IMHO need to be addressed before I would be happy
> > to ship it for commercial use.  Many of these issues are with the
> > optimizer or EV6 / EV67 related.
>
> Hm, do you have more information about them? I can only find a handful
> in the gcc bug tracking system.

We should probably be certain to put them into the gcc bug tracking system.  I 
know that Will has a couple.  I think that Jay may still have one.  I have a 
few of them. UNH builds the complete toolchain everyday for the Alpha 
Architecture, they have a bunch of them.  I am currently swamped but I will 
attempt to get you a consolidated list by Monday.

Not enough hours in the day.

Best Regards,


--George




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-10 21:34           ` George France
@ 2003-02-10 21:43             ` Falk Hueffner
  2003-02-10 21:48               ` George France
  2003-02-11  4:14             ` Ted Goodridge
  1 sibling, 1 reply; 30+ messages in thread
From: Falk Hueffner @ 2003-02-10 21:43 UTC (permalink / raw)
  To: George France; +Cc: axp-list, Jay Estabrook, Will

George France <france@handhelds.org> writes:

> On Monday 10 February 2003 02:12 pm, Falk Hueffner wrote:
> > George France <france@handhelds.org> writes:
> > > As for gcc 3.2.x, it has about twenty-five serious bugs on the Alpha
> > > Archtecture, that IMHO need to be addressed before I would be happy
> > > to ship it for commercial use.  Many of these issues are with the
> > > optimizer or EV6 / EV67 related.
> >
> > Hm, do you have more information about them? I can only find a handful
> > in the gcc bug tracking system.
> 
> We should probably be certain to put them into the gcc bug tracking
> system.  I know that Will has a couple.  I think that Jay may still
> have one.  I have a few of them. UNH builds the complete toolchain
> everyday for the Alpha Architecture, they have a bunch of them.  I
> am currently swamped but I will attempt to get you a consolidated
> list by Monday.

Thanks. I can't really promise anything, but I've recently gained some
experience with gcc, and maybe I can help with one of the easier ones.

-- 
	Falk




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-10 21:43             ` Falk Hueffner
@ 2003-02-10 21:48               ` George France
  0 siblings, 0 replies; 30+ messages in thread
From: George France @ 2003-02-10 21:48 UTC (permalink / raw)
  To: Falk Hueffner; +Cc: axp-list, Jay Estabrook, Will

On Monday 10 February 2003 04:43 pm, Falk Hueffner wrote:
> George France <france@handhelds.org> writes:
>
> Thanks. I can't really promise anything, but I've recently gained some
> experience with gcc, and maybe I can help with one of the easier ones.

Any help would be greatly appreciated.

Thank you in advance.

Best Regards,


--George




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-10 21:34           ` George France
  2003-02-10 21:43             ` Falk Hueffner
@ 2003-02-11  4:14             ` Ted Goodridge
  2003-02-11  5:03               ` George France
  2003-02-11  5:09               ` Kelledin
  1 sibling, 2 replies; 30+ messages in thread
From: Ted Goodridge @ 2003-02-11  4:14 UTC (permalink / raw)
  To: axp-list, George France, Falk Hueffner; +Cc: Jay Estabrook, Will

is the toolchain broken for ev5/ev56?  My main interest is to build a 
toolchain on a chroot (or somethign similar) then take SRPMS and build a 
system (ie 8.0 or something).  If the toolchain is broken as you say (or has 
"significant bugs", does that mean this is a futile effort until the 
toolchain works properly?

Ted	

On Monday 10 February 2003 03:34 pm, George France wrote:
> On Monday 10 February 2003 02:12 pm, Falk Hueffner wrote:
> > George France <france@handhelds.org> writes:
> > > As for gcc 3.2.x, it has about twenty-five serious bugs on the Alpha
> > > Archtecture, that IMHO need to be addressed before I would be happy
> > > to ship it for commercial use.  Many of these issues are with the
> > > optimizer or EV6 / EV67 related.
> >
> > Hm, do you have more information about them? I can only find a handful
> > in the gcc bug tracking system.
>
> We should probably be certain to put them into the gcc bug tracking system.
>  I know that Will has a couple.  I think that Jay may still have one.  I
> have a few of them. UNH builds the complete toolchain everyday for the
> Alpha Architecture, they have a bunch of them.  I am currently swamped but
> I will attempt to get you a consolidated list by Monday.
>
> Not enough hours in the day.
>
> Best Regards,
>
>
> --George
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-11  4:14             ` Ted Goodridge
@ 2003-02-11  5:03               ` George France
  2003-02-11  5:44                 ` Kelledin
  2003-02-11  5:09               ` Kelledin
  1 sibling, 1 reply; 30+ messages in thread
From: George France @ 2003-02-11  5:03 UTC (permalink / raw)
  To: Ted Goodridge, axp-list, Falk Hueffner; +Cc: Jay Estabrook, Will

It is not futile, the gentoo distribution for the Alpha arch is working OK, if 
you take precautions and do not use -mcpu=ev6 or -mcpu=ev67 and some packages 
like openssh will not properly compile with -O2, you must add a 
-fno-sched-interblock to get it to compile properly, other apps will work 
with -O1 instead of -O2, but a few apps will require a little patching to 
make them work correctly.

I consider these bugs to be significant if you are a commercial user and need 
a rock steady system.   A home / hobby system should be doable with a little 
bit of effort.  In the worst case, I hope you give it a try and report the 
problems, as I believe that defining the issues is the first step toward 
solving them.

I hope this helps.

Best Regards,


--George

On Monday 10 February 2003 11:14 pm, Ted Goodridge wrote:
> is the toolchain broken for ev5/ev56?  My main interest is to build a
> toolchain on a chroot (or somethign similar) then take SRPMS and build a
> system (ie 8.0 or something).  If the toolchain is broken as you say (or
> has "significant bugs", does that mean this is a futile effort until the
> toolchain works properly?
>
> Ted
>
> On Monday 10 February 2003 03:34 pm, George France wrote:
> > On Monday 10 February 2003 02:12 pm, Falk Hueffner wrote:
> > > George France <france@handhelds.org> writes:
> > > > As for gcc 3.2.x, it has about twenty-five serious bugs on the Alpha
> > > > Archtecture, that IMHO need to be addressed before I would be happy
> > > > to ship it for commercial use.  Many of these issues are with the
> > > > optimizer or EV6 / EV67 related.
> > >
> > > Hm, do you have more information about them? I can only find a handful
> > > in the gcc bug tracking system.
> >
> > We should probably be certain to put them into the gcc bug tracking
> > system. I know that Will has a couple.  I think that Jay may still have
> > one.  I have a few of them. UNH builds the complete toolchain everyday
> > for the Alpha Architecture, they have a bunch of them.  I am currently
> > swamped but I will attempt to get you a consolidated list by Monday.
> >
> > Not enough hours in the day.
> >
> > Best Regards,
> >
> >
> > --George
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-11  4:14             ` Ted Goodridge
  2003-02-11  5:03               ` George France
@ 2003-02-11  5:09               ` Kelledin
  1 sibling, 0 replies; 30+ messages in thread
From: Kelledin @ 2003-02-11  5:09 UTC (permalink / raw)
  To: axp-list

On Monday 10 February 2003 10:14 pm, Ted Goodridge wrote:
> is the toolchain broken for ev5/ev56?  My main interest is to
> build a toolchain on a chroot (or somethign similar) then take
> SRPMS and build a system (ie 8.0 or something).  If the
> toolchain is broken as you say (or has "significant bugs",
> does that mean this is a futile effort until the toolchain
> works properly?

I would say not.  I've currently built an entire LinuxFromScratch 
system with gcc-3.2.x on both an LX164 and on x86, and it 
produces a very usable system (sans XFree86 on alpha--it's not 
liking my S3 Trio64+ much).  Even if you end up tripping on 
toolchain bugs, at least you can contribute to the bug-squashing 
effort.

-- 
Kelledin
"If a server crashes in a server farm and no one pings it, does 
it still cost four figures to fix?"




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-11  5:03               ` George France
@ 2003-02-11  5:44                 ` Kelledin
  2003-02-11 23:39                   ` Will Woods
  0 siblings, 1 reply; 30+ messages in thread
From: Kelledin @ 2003-02-11  5:44 UTC (permalink / raw)
  To: axp-list

On Monday 10 February 2003 11:03 pm, George France wrote:
> It is not futile, the gentoo distribution for the Alpha arch
> is working OK, if you take precautions and do not use
> -mcpu=ev6 or -mcpu=ev67 and some packages like openssh will
> not properly compile with -O2, you must add a
> -fno-sched-interblock to get it to compile properly, other
> apps will work with -O1 instead of -O2, but a few apps will
> require a little patching to make them work correctly.

Hmmm...interesting.  What exactly goes wrong with openssh?

I ask because I compiled openssh on my LX164 with plain old -O2 a 
while back, and it seems to work OK.  Mind you, I haven't done 
any extensive regression tests on it, so it could have some 
brokenness that I've just dodged through sheer luck.  I also 
haven't done an ev56-optimized compile--it's just straight 
-mcpu=ev4.

-- 
Kelledin
"If a server crashes in a server farm and no one pings it, does 
it still cost four figures to fix?"




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-11  5:44                 ` Kelledin
@ 2003-02-11 23:39                   ` Will Woods
  2003-02-11 23:57                     ` Bryan W. Headley
  0 siblings, 1 reply; 30+ messages in thread
From: Will Woods @ 2003-02-11 23:39 UTC (permalink / raw)
  To: axp-list

On Tuesday 11 February 2003 12:44 am, Kelledin wrote:

> Hmmm...interesting.  What exactly goes wrong with openssh?

When compiled with -mcpu=ev6 and -O2 or higher, sshd doesn't accept ssh2 
protocol connections, because a gcc bug makes it drop a block of code that 
sets have_ssh2_key = 1. Oops. There's a workaround patch available, which 
might qualify for Stupidest Patch Ever:

--- sshd.c.orig	2002-11-21 15:42:45.000000000 -0500
+++ sshd.c	2002-11-21 15:43:42.000000000 -0500
@@ -994,6 +994,7 @@
 			sensitive_data.have_ssh1_key = 1;
 			break;
 		case KEY_RSA:
+		        i=i+0; /* gcc3.2 drops these 2 cases without this */
 		case KEY_DSA:
 			sensitive_data.have_ssh2_key = 1;
 			break;

> I ask because I compiled openssh on my LX164 with plain old -O2 a
> while back, and it seems to work OK.  Mind you, I haven't done
> any extensive regression tests on it, so it could have some
> brokenness that I've just dodged through sheer luck.  I also
> haven't done an ev56-optimized compile--it's just straight
> -mcpu=ev4.

If memory serves, -mcpu=ev4 and -mcpu=ev5 generate the same set of 
instructions; the only difference is the scheduling for the different 
processors. So it's fairly useless to optimize for ev4 unless the resulting 
binary will only be run on an ev4.

-will




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-11 23:39                   ` Will Woods
@ 2003-02-11 23:57                     ` Bryan W. Headley
  2003-02-12  1:31                       ` Falk Hueffner
  0 siblings, 1 reply; 30+ messages in thread
From: Bryan W. Headley @ 2003-02-11 23:57 UTC (permalink / raw)
  To: axp-list

Will Woods wrote:
> On Tuesday 11 February 2003 12:44 am, Kelledin wrote:
> 
> 
>>Hmmm...interesting.  What exactly goes wrong with openssh?
> 
> 
> might qualify for Stupidest Patch Ever:

That's just plain bad. Does rth or the other gcc guys know about this 
optimization?




-- 
____               .:.                 ____
Bryan W. Headley - bwheadley@earthlink.net




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-11 23:57                     ` Bryan W. Headley
@ 2003-02-12  1:31                       ` Falk Hueffner
  2003-02-12  2:01                         ` Falk Hueffner
  0 siblings, 1 reply; 30+ messages in thread
From: Falk Hueffner @ 2003-02-12  1:31 UTC (permalink / raw)
  To: axp-list

"Bryan W. Headley" <bwheadley@earthlink.net> writes:

> Will Woods wrote:
> > On Tuesday 11 February 2003 12:44 am, Kelledin wrote:
> >
> 
> >>Hmmm...interesting.  What exactly goes wrong with openssh?
> > might qualify for Stupidest Patch Ever:
> 
> 
> That's just plain bad. Does rth or the other gcc guys know about
> this optimization?

The bug is very volatile. I've distilled a test case, but it I change
seemingly unrelated stuff, it goes away. It also doesn't occur with
mainline gcc.

I will try to submit my test case to the gcc bug tracking system...
and maybe look at the RTL a bit, I might find something out.

-- 
	Falk




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

* Re: "unofficial" redhat releases/testing builds
  2003-02-12  1:31                       ` Falk Hueffner
@ 2003-02-12  2:01                         ` Falk Hueffner
  0 siblings, 0 replies; 30+ messages in thread
From: Falk Hueffner @ 2003-02-12  2:01 UTC (permalink / raw)
  To: axp-list

Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> writes:

> I will try to submit my test case to the gcc bug tracking system...
> and maybe look at the RTL a bit, I might find something out.

Ah-hah. This is very likely the same problem as optimization/7702.
Basically, gcc instantiates an integer contains in a FP register
twice, and blows it when trying to merge them. It doesn't happen on
mainline, but is probably just hidden and not fixed...

-- 
	Falk




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

* a way to start Re: "unofficial" redhat releases/testing builds
  2003-02-04 18:50     ` John Jasen
@ 2003-02-12 17:06       ` John Jasen
  2003-02-12 17:34         ` Ted Goodridge, Jr
                           ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: John Jasen @ 2003-02-12 17:06 UTC (permalink / raw)
  To: axp-list

step one: acquire srpms
step two: for i in `ls -1`; do rpm --rebuild $i >$i.log 2>&1; done
step three: grep "Wrote: /usr/src/redhat/RPMS/" *.log >finished.list
step four: ls *.log >started.list
step five: find a way to parse the output of step 3. I used perl with a
	simple split and print.
step six:  cat started.list finished.list | sort | uniq -u
>unfinished.list
step seven:  grep "error: failed build dependencies" *.log | perl
logparse.pl >dependencies.log
step eight: cat unfinished.list dependencies.log | sort | uniq -u
>failed.log

So far (I admit, advanced workstation src rpms on a 7.3 i386 system) out
of 690 source rpms, I've had 480 successful compiles, 163 that failed on
dependencies to build it, and ... 47 failures

Now I just need glue to go and resolve dependencies and retry ...

-- 
-- John E. Jasen (jjasen1@umbc.edu)
-- User Error #2361: Please insert coffee and try again.




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

* Re: a way to start Re: "unofficial" redhat releases/testing builds
  2003-02-12 17:06       ` a way to start " John Jasen
@ 2003-02-12 17:34         ` Ted Goodridge, Jr
  2003-02-12 18:17           ` John Jasen
  2003-02-12 17:52         ` dr john halewood
  2003-02-12 21:55         ` John Jasen
  2 siblings, 1 reply; 30+ messages in thread
From: Ted Goodridge, Jr @ 2003-02-12 17:34 UTC (permalink / raw)
  To: axp-list

On Wed, 12 Feb 2003 12:06:13 -0500, John Jasen <jjasen1@umbc.edu> wrote:

>
> step one: acquire srpms
> step two: for i in `ls -1`; do rpm --rebuild $i >$i.log 2>&1; done
> step three: grep "Wrote: /usr/src/redhat/RPMS/" *.log >finished.list
> step four: ls *.log >started.list
> step five: find a way to parse the output of step 3. I used perl with a
> 	simple split and print.
> step six:  cat started.list finished.list | sort | uniq -u
>> unfinished.list
> step seven:  grep "error: failed build dependencies" *.log | perl
> logparse.pl >dependencies.log
> step eight: cat unfinished.list dependencies.log | sort | uniq -u
>> failed.log
>
> So far (I admit, advanced workstation src rpms on a 7.3 i386 system) out
> of 690 source rpms, I've had 480 successful compiles, 163 that failed on
> dependencies to build it, and ... 47 failures
>
> Now I just need glue to go and resolve dependencies and retry ...
>

Fascinating!  (spock ears not included)  How do you make the jump from GCC 
versions and GlibC versions?

Ted




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

* Re: a way to start Re: "unofficial" redhat releases/testing builds
  2003-02-12 17:06       ` a way to start " John Jasen
  2003-02-12 17:34         ` Ted Goodridge, Jr
@ 2003-02-12 17:52         ` dr john halewood
  2003-02-12 18:11           ` John Jasen
  2003-02-12 20:41           ` Mike A. Harris
  2003-02-12 21:55         ` John Jasen
  2 siblings, 2 replies; 30+ messages in thread
From: dr john halewood @ 2003-02-12 17:52 UTC (permalink / raw)
  To: axp-list

On Wednesday 12 February 2003 17:06, John Jasen wrote:
>So far (I admit, advanced workstation src rpms on a 7.3 i386 system) out
>of 690 source rpms, I've had 480 successful compiles, 163 that failed on
>dependencies to build it, and ... 47 failures

Even that won't necessarily give you a suitably stable system, because you've 
probably built the rpms against one set of libraries (e.g. ncurses), then 
built an rpm of a later version of the same. To sort this type of problem out 
I borrowed a technique from the Immunix project (www.immunix.org - it's a 
version of redhat for x86 with security enhancements to gcc and glibc), which 
basically goes.

1) build rpms
2) install rpms
3) build rpms again
4) if new rpm != old rpm, goto (1)

After a few iterations, the system stabilises. But not before you get lost in 
a twisty maze of dependencies, all alike and equally baffling.

cheers
john
 




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

* Re: a way to start Re: "unofficial" redhat releases/testing builds
  2003-02-12 17:52         ` dr john halewood
@ 2003-02-12 18:11           ` John Jasen
  2003-02-12 20:41           ` Mike A. Harris
  1 sibling, 0 replies; 30+ messages in thread
From: John Jasen @ 2003-02-12 18:11 UTC (permalink / raw)
  To: axp-list

On Wed, 12 Feb 2003, dr john halewood wrote:

> >So far (I admit, advanced workstation src rpms on a 7.3 i386 system) out
> >of 690 source rpms, I've had 480 successful compiles, 163 that failed on
> >dependencies to build it, and ... 47 failures
>
> Even that won't necessarily give you a suitably stable system, because you've
> probably built the rpms against one set of libraries (e.g. ncurses), then
> built an rpm of a later version of the same. To sort this type of problem out
> I borrowed a technique from the Immunix project (www.immunix.org - it's a
> version of redhat for x86 with security enhancements to gcc and glibc), which
> basically goes.

Ah, yes. I am thinking that if I get enough of the toochain assembled,
I'll ahev to plonk it into a chroot environment, and then go through the
entire build process again at least once.

IOW.

rh-73-base: build version-8.0.rpm (actually a munged 7.3/8.0 hybrid)
rh-73-base: install version-8.0-munged.rpm
rh-8.0-munged: build version-8.0.rpm
rh-8.0-munged: install version-8.0.rpm
rh-8.0-less-munged: (or dare we hope clean?)

--
-- John E. Jasen (jjasen1@umbc.edu)
-- User Error #2361: Please insert coffee and try again.




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

* Re: a way to start Re: "unofficial" redhat releases/testing builds
  2003-02-12 17:34         ` Ted Goodridge, Jr
@ 2003-02-12 18:17           ` John Jasen
  0 siblings, 0 replies; 30+ messages in thread
From: John Jasen @ 2003-02-12 18:17 UTC (permalink / raw)
  To: axp-list

On Wed, 12 Feb 2003, Ted Goodridge, Jr wrote:

> > Now I just need glue to go and resolve dependencies and retry ...
>
> Fascinating!  (spock ears not included)  How do you make the jump from GCC
> versions and GlibC versions?

its more a make bootstrap; install bootstrap; make final idea, as Dr.
Halewood pointed out.

glibc will probably require special handling (actuallyinstalling the src
rpm, running through the spec file ...) as my logs from rpm --rebuild do
not indicate that it built for anything other than i386 (as I said, I'm
testing on a rh73-base/i386 for the moment ...)

gcc 2.96 compiled cleanly in this test, as did 3.0.4

--
-- John E. Jasen (jjasen1@umbc.edu)
-- User Error #2361: Please insert coffee and try again.






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

* Re: a way to start Re: "unofficial" redhat releases/testing builds
  2003-02-12 17:52         ` dr john halewood
  2003-02-12 18:11           ` John Jasen
@ 2003-02-12 20:41           ` Mike A. Harris
  1 sibling, 0 replies; 30+ messages in thread
From: Mike A. Harris @ 2003-02-12 20:41 UTC (permalink / raw)
  To: axp-list

On Wed, 12 Feb 2003, dr john halewood wrote:

>Even that won't necessarily give you a suitably stable system, because you've 
>probably built the rpms against one set of libraries (e.g. ncurses), then 
>built an rpm of a later version of the same. To sort this type of problem out 
>I borrowed a technique from the Immunix project (www.immunix.org - it's a 
>version of redhat for x86 with security enhancements to gcc and glibc), which 
>basically goes.
>
>1) build rpms
>2) install rpms
>3) build rpms again
>4) if new rpm != old rpm, goto (1)
>
>After a few iterations, the system stabilises. But not before you get lost in 
>a twisty maze of dependencies, all alike and equally baffling.

That will work with some, but not all software.  Some software 
embeds the date into itself during compilation, or embeds things 
such as the OS kernel used to compile it, the build machine, the 
exact C compiler, etc.

XFree86 for example will not compile 100% identically every time 
it is built.  Functionally it is the same, but the exact binary 
image will not be the same, and so the resulting RPM packages 
wont be the same either.  The kernel does this as well, and 
likely glibc, and other packages also.


-- 
Mike A. Harris     ftp://people.redhat.com/mharris
OS Systems Engineer - XFree86 maintainer - Red Hat




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

* Re: a way to start Re: "unofficial" redhat releases/testing builds
  2003-02-12 17:06       ` a way to start " John Jasen
  2003-02-12 17:34         ` Ted Goodridge, Jr
  2003-02-12 17:52         ` dr john halewood
@ 2003-02-12 21:55         ` John Jasen
  2 siblings, 0 replies; 30+ messages in thread
From: John Jasen @ 2003-02-12 21:55 UTC (permalink / raw)
  To: axp-list

On Wed, 12 Feb 2003, John Jasen wrote:

> Now I just need glue to go and resolve dependencies and retry ...

cheap hack:

grep "is needed by" *.log | perl glue to get needed dependencies | sort |
uniq -u >needs

for i in `cat /path/to/needs`; do rpm -Uvh /path/to/rpms/$i*; done

You could probably combine them into one line

--
-- John E. Jasen (jjasen1@umbc.edu)
-- User Error #2361: Please insert coffee and try again.




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

end of thread, other threads:[~2003-02-12 21:55 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-03 18:16 "unofficial" redhat releases/testing builds Ted Goodridge, Jr
2003-02-03 18:19 ` John Jasen
2003-02-04  5:02   ` Mike A. Harris
2003-02-04 18:50     ` John Jasen
2003-02-12 17:06       ` a way to start " John Jasen
2003-02-12 17:34         ` Ted Goodridge, Jr
2003-02-12 18:17           ` John Jasen
2003-02-12 17:52         ` dr john halewood
2003-02-12 18:11           ` John Jasen
2003-02-12 20:41           ` Mike A. Harris
2003-02-12 21:55         ` John Jasen
2003-02-03 20:38 ` Stefan van der Eijk
2003-02-03 20:49 ` alpha] " R P Herrold
2003-02-03 23:24   ` Mike Barnes
     [not found] <20030203232701.CA3693F5D6@listman.redhat.com>
2003-02-07 17:31 ` Stephen Lewis
2003-02-07 20:17   ` Ted Goodridge
2003-02-10  6:53     ` Mike A. Harris
2003-02-10 19:02       ` George France
2003-02-10 19:12         ` Falk Hueffner
2003-02-10 21:34           ` George France
2003-02-10 21:43             ` Falk Hueffner
2003-02-10 21:48               ` George France
2003-02-11  4:14             ` Ted Goodridge
2003-02-11  5:03               ` George France
2003-02-11  5:44                 ` Kelledin
2003-02-11 23:39                   ` Will Woods
2003-02-11 23:57                     ` Bryan W. Headley
2003-02-12  1:31                       ` Falk Hueffner
2003-02-12  2:01                         ` Falk Hueffner
2003-02-11  5:09               ` Kelledin

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