| Anonymous | Login | Signup for a new account | 11-10-2008 10:39 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000051 | [buildroot] Shared Library Support | major | always | 01-20-05 10:09 | 02-12-07 05:49 | ||||
| Reporter | acmay | View Status | public | ||||||
| Assigned To | buildroot | ||||||||
| Priority | normal | Resolution | won't fix | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0000051: C++ without LFS support | ||||||||
| Description | When trying to build the libstdc++-v3 in the GCC final step it fails when trying to use some of the LFS functions when they are not supported. | ||||||||
| Additional Information |
This patch shows what I think needs to be done to fix the problem, but it also has the results of buildroot fixup of stuff, so only the last sections are the stuff I added. I built the first part and then it failed in gcc-final, so I removed that dir and did this add to the libstdc++ configure file. .... We could go for a sed rule that just changed uclinux to uclibc. @@ -71501,6 +71580,9 @@ *-uclinux*) # Don't enable LFS with uClibc ;; + *-uclibc*) + # Don't enable LFS with uClibc + ;; *) cat >>confdefs.h <<\_ACEOF #define _GLIBCXX_USE_LFS 1 ============================================ But that is just a hack for the problem. I would think the real fix is to actually do the real check by doing this in the crossconfig.m4 file, but I am not sure when this is processed to generate the configure file. ===================================== @@ -150,13 +237,7 @@ # For LFS. AC_DEFINE(HAVE_INT64_T) - case "$target" in - *-uclinux*) - # Don't enable LFS with uClibc - ;; - *) - AC_DEFINE(_GLIBCXX_USE_LFS) - esac + GLIBCXX_CHECK_LFS |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |