Re: What is the story with egcs, linux, and broken asm ?

Petko Manolov (petkan@varel.bg)
Tue, 15 Dec 1998 15:49:25 +0200


This is a multi-part message in MIME format.
--------------B340837D88E3AC534A15D967
Content-Type: multipart/alternative;
boundary="------------A6BF1C7A682E1D37CB71923C"

--------------A6BF1C7A682E1D37CB71923C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Horst von Brand wrote:

> Richard Ketchersid <ketchers@math.berkeley.edu> said:
> > Is someone working to fix linux so that it will compile with the later
> > egcs's, at least on a i486 machine ?
>
> Fixed in 2.1.131ac8 or thereabouts. There might be some loose ends left,
> haven't tripped over them with egcs snapshots on i586. If you see any
> problems, please report them in detail here.
>

Yes, there is known problems in egcs ( backward compatibles) with inline
asm (clobber registers). But i compile everything (kernel, glibc) with
pgcc-2.91.60 (egcs-1.1.1) even with -O6 and has no problems. Including
2.0.xx series. Just for sure use -O2.

> 2.0.xx will _not_ be modified for egcs (too great risk of instability for
> little gain), use gcc-2.7.2.3 with it.

There is a patch - it's attached bellow.

--
Petko Manolov - petkan@varel.bg
http://www.varel.bg/~petkan/

--------------A6BF1C7A682E1D37CB71923C Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> Horst von Brand wrote:

Richard Ketchersid <ketchers@math.berkeley.edu> said:
> Is someone working to fix linux so that it will compile with the later
> egcs's, at least on a i486 machine ?

Fixed in 2.1.131ac8 or thereabouts. There might be some loose ends left,
haven't tripped over them with egcs snapshots on i586. If you see any
problems, please report them in detail here.
 

Yes, there is known problems in egcs ( backward compatibles) with inline
asm (clobber registers). But i compile everything (kernel, glibc) with
pgcc-2.91.60 (egcs-1.1.1) even with -O6 and has no problems. Including
2.0.xx series.  Just for sure use -O2.
 
2.0.xx will _not_ be modified for egcs (too great risk of instability for
little gain), use gcc-2.7.2.3 with it.
There is a patch - it's attached bellow.
-- 
Petko Manolov - petkan@varel.bg
http://www.varel.bg/~petkan/
  --------------A6BF1C7A682E1D37CB71923C-- --------------B340837D88E3AC534A15D967 Content-Type: application/x-gzip; name="linux-2.0.x.patch.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="linux-2.0.x.patch.gz" H4sICN/kTzYAA2xpbnV4LTIuMC54LnBhdGNoAJVVbW/bOAz+bP8KXgsUTmw3SdO89Q3NhgAb sKZD2yv2YYCh2HIiVJENS26T3e6/HyXbWZ3Wu7sgsSmSD/WQlBjf94Fk4arD+uNh54lmgvIO S9IkU8eh7bpus9XqTSbjTnfU6Q6gNzwbTM5Oevb1Nfi9rjcEF58juL624ZCJkOcRhQvORL7p 0CwTyfHq6q1FbVMq37WUe6LJ3Tet1wZhQ6cN91TB7NvDbP4AC6YkSEUyxcQSiIIP0/sZMAEf Pj/cTL+CSuCZ8JzCw5938+B2fgztjq0BioXwnLAIJFUBRlmT1MmFZEtBI+AJBmsXWg/kCknB gkhayXSjqFAe7qNA0JfAbNEyVRn1vd4I3NGp1xuaukAbEgFyKxVd+yHhHBCabcHHnSkQLhOI k+zJaQEREagVBU2CcFjhGnNfmhBhEtFjLXVsn8g16p/IkhoCGDrAwnHHsKaLjVcIYSVEG8/2 LdCfQiGZV0rRTlqklUQ2pRTJfVxpiCthWQlJxpaBRtYBLC0ohLKkEnOyrGRZGqVs2a7tNmVV b0ouckmjlg1/4U47kwZw+kw5XOoCnNuuJVWWhwpSFWR0KbGC5nUJzr6hBUdFUI16N6L2869M XDx/FovBKUxX0EcmlpVRlWcC/Nnn+eP0y3np84fEqBn29edPbHWYZ7RCdeuor7O7m3NMp+0c FQVqaZ6FCEfQ3cT4CfGHoaqtLy6gd9LSlEt2hTfiaut/QUNFoovy37b/3pR4ktu1bBoSpbFx Rkz0iJiUE8I29wZ3M/cuytdpoFYZJdGbnuA9KzS6gtii8x1U98Ug4zR3KI/xrSF4h5Xxc0u/ cEUQqMPg1wkTIVWp814vWqal5Tgo98SUFgkPFFlwajIOappLPHpvBhd6oDVY0CUTek6Z+Tg0 83FUZm99czbjYRCSlCwYZ2rb8ozyVR1eazA/XLq4LHIobPPbx9ndvRMEURJElJNtTR0lLyKI CeM0atIHWECczHmqGCaDXrrnZTIdvIK+6S7uh4PneGWa3mht7PrJYKxT168i9/KUBdheaU4a 6AEfQxcrGdGYCYq2T9PHWTC9+/gpuH+4w++rnnPt0dxSPV/qa2UmhOEyNm04Ge/6cHYQbg68 g8g8GD4kO9Dn4A1J95CKiMX6hDSw/DKb77OU7AfFs4gUORV1lrL4hzjtayruab+6F5YV4n8L dM/g4+3Nze3cOUA+FR2VnO88er88vovvap08y0WD68lb15c9V7907b/j2hTetSysBMm5+h8g sLDhh7lAZAnS1dWlGIz1CXEHk+5/KYVsrIRUSW1X2VgI7flS92yog/FsCN5Uht9h3q/CP38V SsCZCQAA --------------B340837D88E3AC534A15D967-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/