BusyBox Bug and Patch Tracking
BusyBox
  

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  uc-lfs.patch [^] (7,387 bytes) 01-20-05 10:09

- Relationships

- Notes
(0000985)
prpplague
01-23-06 11:00

enable LFS and it will work
 

- Issue History
Date Modified Username Field Change
01-20-05 10:09 acmay New Issue
01-20-05 10:09 acmay File Added: uc-lfs.patch
03-16-05 12:14 andersen Status new => assigned
03-16-05 12:14 andersen Assigned To  => uClibc
08-08-05 01:52 mdeschamps Issue Monitored: mdeschamps
08-11-05 07:32 mdeschamps Issue End Monitor: mdeschamps
01-23-06 11:00 prpplague Note Added: 0000985
01-23-06 11:00 prpplague Status assigned => closed
01-23-06 11:00 prpplague Resolution open => won't fix
02-12-07 05:49 vapier Status closed => assigned
02-12-07 05:49 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker