Re: [OpenWrt-Devel] any problems with bumping up the toolchain versions?

2008-03-28 Thread Robert P. J. Day
On Thu, 27 Mar 2008, Imre Kaloz wrote:

 On 2008.03.27. 23:03:59 Robert P. J. Day [EMAIL PROTECTED] wrote:

 
is there any inherent difficulty in bumping up the software versions
  of the toolchain components?  say, binutils to 2.18 and gcc to 4.2.3?
  i realize you can always do that *manually* but if those values are
  the *defaults*, it's more likely that people will use them and will
  identify build problems if they exist.
 
i think it's more valuable to push the toolchain along, just so if
  there are issues hiding in the newer versions, they're identified as
  quickly as possible.
 

 The reason why we stick to 4.1.2 is simply the fact that it compiles
 good code. 4.2 is broken on ARM, misscompiles some stuff on x86, not
 to mention that probably noone tested all platforms out there. We
 slowly bumb toolchain versions when the toolchain is known to work
 nicely for some time for a developer.

ok, i didn't realize the situation WRT to gcc.  but is there anything
stopping upgrading the default of binutils to 2.18?  does that not
work well with any of the architectures?

as i mentioned before, unless there's an actual issue, i'm a big fan
of pushing version upgrades so that any problems can be identified
sooner rather than later.  if a newer version of some toolchain
component works on all but one architecture, i think it's more useful
to bump the default version, except in the case of that one
architecture (which is what the binutils Config.in would be doing
anyway WRT to avr32, which doesn't have patches for binutils-2.18).

anyway, just my $0.02.

rday

p.s.  and what about gdb?  currently, it's sitting at 6.3 while 6.7.1
is out.
--


Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca  Waterloo, Ontario, CANADA

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] any problems with bumping up the toolchain versions?

2008-03-28 Thread Robert P. J. Day
On Thu, 27 Mar 2008, Imre Kaloz wrote:

 On 2008.03.27. 23:37:47 Luigi 'Comio' Mantellini [EMAIL PROTECTED] wrote:

 snip

  Ok. Anyway the compiler gcc4.3 supports a lot new cpus (like the
  coldfire) :) opening new development horizons.
 

 Sure, as AVR32 uses gcc 4.2.3.. Some targets work better with newer
 compilers, others do not. Spice this is up with uClibc, and you have
 fun everytime you play with toolchain combinations ;)

 rday already sent a preliminary 4.3 patch top the list, if you
 volunteer to fix it up, we are happy to add it :) Same goes for your
 platform :)

that was a first attempt, i was making no guarantees.  :-)  will post
more on this later.

rday
--



Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca  Waterloo, Ontario, CANADA

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] any problems with bumping up the toolchain versions?

2008-03-27 Thread Robert P. J. Day

  is there any inherent difficulty in bumping up the software versions
of the toolchain components?  say, binutils to 2.18 and gcc to 4.2.3?
i realize you can always do that *manually* but if those values are
the *defaults*, it's more likely that people will use them and will
identify build problems if they exist.

  i think it's more valuable to push the toolchain along, just so if
there are issues hiding in the newer versions, they're identified as
quickly as possible.

rday
--


Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca  Waterloo, Ontario, CANADA

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] any problems with bumping up the toolchain versions?

2008-03-27 Thread Imre Kaloz
On 2008.03.27. 23:03:59 Robert P. J. Day [EMAIL PROTECTED] wrote:


   is there any inherent difficulty in bumping up the software versions
 of the toolchain components?  say, binutils to 2.18 and gcc to 4.2.3?
 i realize you can always do that *manually* but if those values are
 the *defaults*, it's more likely that people will use them and will
 identify build problems if they exist.

   i think it's more valuable to push the toolchain along, just so if
 there are issues hiding in the newer versions, they're identified as
 quickly as possible.


The reason why we stick to 4.1.2 is simply the fact that it compiles good code.
4.2 is broken on ARM, misscompiles some stuff on x86, not to mention that
probably noone tested all platforms out there. We slowly bumb toolchain versions
when the toolchain is known to work nicely for some time for a developer.


Imre
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] any problems with bumping up the toolchain versions?

2008-03-27 Thread Imre Kaloz
On 2008.03.27. 23:37:47 Luigi 'Comio' Mantellini [EMAIL PROTECTED] wrote:

snip

 Ok. Anyway the compiler gcc4.3 supports a lot new cpus (like the
 coldfire) :) opening new development horizons.


Sure, as AVR32 uses gcc 4.2.3.. Some targets work better with newer
compilers, others do not. Spice this is up with uClibc, and you have
fun everytime you play with toolchain combinations ;)

rday already sent a preliminary 4.3 patch top the list, if you volunteer
to fix it up, we are happy to add it :) Same goes for your platform :)


Imre
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] any problems with bumping up the toolchain versions?

2008-03-27 Thread Luigi 'Comio' Mantellini
On gio, 2008-03-27 at 23:42 +0100, Imre Kaloz wrote:
 On 2008.03.27. 23:37:47 Luigi 'Comio' Mantellini [EMAIL PROTECTED] wrote:
 
 snip
 
  Ok. Anyway the compiler gcc4.3 supports a lot new cpus (like the
  coldfire) :) opening new development horizons.
 
 
 Sure, as AVR32 uses gcc 4.2.3.. Some targets work better with newer
 compilers, others do not. Spice this is up with uClibc, and you have
 fun everytime you play with toolchain combinations ;)
 
 rday already sent a preliminary 4.3 patch top the list, if you volunteer
 to fix it up, we are happy to add it :) Same goes for your platform :)
 
I tried the patchset from RDAY without success :S I don't know why, but
the file libgcc.a is not found and the uClibc compilation fails.
 
 Imre
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
-- 
 __   Luigi Mantellini
   .'__'. RD - Software
  (.'  '.)Industrie Dial Face S.p.A.
  ( :==: )Via Canzo, 4
  ('.__.')20068 Peschiera Borromeo (MI), Italy
   '.__.' Tel.: +39 02 5167 2813
  Fax:  +39 02 5167 2459
Ind.  Dial Face   Email: [EMAIL PROTECTED]
www.idf-hit.com   GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A
   B003 175F E979 907E 1650




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel