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
0001944 [buildroot] Standards Compliance major always 01-20-08 18:41 01-20-08 19:12
Reporter jacky_deng View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version 0.9.27
Summary 0001944: gcc copiled by buildroot can not support "-gcov" feature.
Description I wanna check the code coverage in a system.So I do as the following steps
1. gcc -fprofile-arcs -ftest-coverage -lgcov -o test -g test.c
2. No error during compile the file period. The target file "test" and "test.gcno" can be successfully generated.
3. Then I run the program $./test
Expect:
  The program can run successfuly and a file "test.gcda" would be created automatically.
Actually:
  The program can run successfully, But the file test.gcda didn't be created.

Additional Information
Attached Files

- Relationships

- Notes
(0003459)
jacky_deng
01-20-08 18:45

The gcc compiled by buildroot.
 
(0003464)
jacky_deng
01-20-08 19:12

I use readelf to check the binary files compiled by "uclibc-gcc"

Expect:
$ readelf -a test |grep gcov_exit
    57: 08048a60 3254 FUNC LOCAL DEFAULT 3 gcov_exit
  The above binary is built in another linux workstation,use glibc-gcc.

Actually:
$ readelf -a test |grep gcov_exit
didn't find gcov_exit in the binary file.
  The above binary is built by the uclibc-gcc
 

- Issue History
Date Modified Username Field Change
01-20-08 18:41 jacky_deng New Issue
01-20-08 18:41 jacky_deng Status new => assigned
01-20-08 18:41 jacky_deng Assigned To  => buildroot
01-20-08 18:45 jacky_deng Issue Monitored: jacky_deng
01-20-08 18:45 jacky_deng Note Added: 0003459
01-20-08 19:12 jacky_deng Note Added: 0003464


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker