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
0005164 [buildroot] New Features minor always 09-26-08 09:41 09-26-08 09:41
Reporter razzor View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version
Summary 0005164: r23017 breaks largefile handling in bash
Description with r23017 applied, bash can't handle big files:
$ cat < testfile.4097MB > /dev/null
-sh: testfile.4097MB: Value too large for defined data type

After reverting that hunk, bash worked as expected.
Tested on a x86 r23076 Build.

Additional Information --- /trunk/buildroot/package/Makefile.in 2008/08/04 19:07:05 23016
+++ trunk/buildroot/package/Makefile.in 2008/08/04 19:07:18 23017
@@ -80,6 +80,10 @@
 TARGET_CFLAGS+=-fno-pic -mno-abicalls
 endif
 
+ifeq ($(BR2_LARGEFILE),y)
+TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+endif
+
 TARGET_CXXFLAGS=$(TARGET_CFLAGS)
 
 # else it's an external toolchain

Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-26-08 09:41 razzor New Issue
09-26-08 09:41 razzor Status new => assigned
09-26-08 09:41 razzor Assigned To  => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker