Skip to contentSkip to conversation

: BR2_TOOLCHAIN_SYSROOT should depend on BR2_GCC_VERSION_4_2_0 or higher

Buildroot bugs at busybox.net 1 participant 1 message Sep 19, 2007

lore
Share & tools
lore
#0 lore raw

The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1502
======================================================================

Reported By:                ikonst
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1502
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             09-19-2007 06:32 PDT
Last Modified:              09-19-2007 10:33 PDT

======================================================================
Summary: BR2_TOOLCHAIN_SYSROOT should depend on
BR2_GCC_VERSION_4_2_0 or higher
Description:
The sysroot feature is only available on gcc 4.2.0 and higher. Building it with gcc 4.1.x will cause an error (as sysroot's help string already specifies).

toolchain/gcc/Config.in should be changed. Preferably, the rule should be changed from exclusive:
depends on !BR2_GCC_VERSION_3_3_5 ...
to inclusive:
depends on BR2_GCC_VERSION_4_2_0 || BR2_GCC_VERSION_4_2_1 || BR2_GCC_VERSION_4_3
======================================================================

----------------------------------------------------------------------
bernhardf - 09-19-07 07:00
----------------------------------------------------------------------
No, the !ancient is fine. I don't want to special-case working version but special case deprecat, ancient, unsupported stuff, if anything.

If you select BR2_DEPRECATED, you're on your own anyway, at least in my POV.

----------------------------------------------------------------------
ikonst - 09-19-07 07:23
----------------------------------------------------------------------
I'm okay with either way: we should just make sure than when a new 4.1.x version comes out, it's also excluded.

(Personally, I've lost considerable time trying to figure out the problem which occurs when you try to build gcc 4.1.x with sysroot, so I deem it important to disallow it within the configuration.)

----------------------------------------------------------------------
bernhardf - 09-19-07 10:33
----------------------------------------------------------------------
fixed in r19894

Issue History
Date Modified Username Field Change
======================================================================

09-19-07 06:32  ikonst         New Issue                                    
09-19-07 06:32  ikonst         Status                   new => assigned     
09-19-07 06:32  ikonst         Assigned To               => buildroot       
09-19-07 07:00  bernhardf      Note Added: 0002752                          
09-19-07 07:23  ikonst         Note Added: 0002762                          
09-19-07 10:33  bernhardf      Status                   assigned => closed  
09-19-07 10:33  bernhardf      Note Added: 0002763                          

======================================================================