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
0001186 [buildroot] Architecture Specific minor always 01-30-07 17:13 02-12-07 05:42
Reporter jcoppens View Status public  
Assigned To buildroot
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001186: 17669 - problem with number of arguments in sprintsigmask
Description Thanks to all other suggestions... I hope I'm not tireing out everyone
with these bugreports...

Installed 17669 and applied the mod from Benjamin to compile busybox.
Now I get the error below, which is probably due to some incorrect
version somewhere. Suggestions?

John
Additional Information if /usr/local/src/programming/buildroot/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/mips -I./linux/mips -Ilinux -I./linux -Wall -Os -pipe -MT signal.o -MD -MP -MF ".deps/signal.Tpo" -c -o signal.o signal.c; \
    then mv -f ".deps/signal.Tpo" ".deps/signal.Po"; else rm -f ".deps/signal.Tpo"; exit 1; fi
signal.c: In function `sys_sigreturn':
signal.c:1438: warning: assignment makes integer from pointer without a cast
signal.c:1443: warning: passing arg 2 of `sprintsigmask' makes pointer from integer without a cast
signal.c:1443: error: too few arguments to function `sprintsigmask'
make[2]: *** [signal.o] Error 1
make[2]: Leaving directory `/usr/local/src/programming/buildroot/build_mipsel/strace-4.5.15'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/programming/buildroot/build_mipsel/strace-4.5.15'
make: *** [/usr/local/src/programming/buildroot/build_mipsel/strace-4.5.15/strace] Error 2
Attached Files  strace.config.txt [^] (2,206 bytes) 02-08-07 12:40
 uClibc.config.txt [^] (2,330 bytes) 02-08-07 12:40

- Relationships

- Notes
(0002099)
bernhardf
02-04-07 08:42

Please retry with an unpatched, clean trunk of buildroot.
If it still fails, then please provide your egrep "^(#|$)" .config of buildroot and uClibc, so i can try to reproduce this locally.

Thanks,
 
(0002121)
ctaylor
02-05-07 13:07

FYI,

I just triggered this same error trying to build buildroot r17697 for MIPS (with uClibc-0.9.28.1).

if buildroot/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/mips -I./linux/mips -Ilinux -I./linux -Wall -O2 -pipe -MT signal.o -MD -MP -MF ".deps/signal.Tpo" -c -o signal.o signal.c; \
        then mv -f ".deps/signal.Tpo" ".deps/signal.Po"; else rm -f ".deps/signal.Tpo"; exit 1; fi
signal.c: In function `sys_sigreturn':
signal.c:1438: warning: assignment makes integer from pointer without a cast
signal.c:1443: warning: passing arg 2 of `sprintsigmask' makes pointer from integer without a cast
signal.c:1443: error: too few arguments to function `sprintsigmask'
 
(0002126)
bernhardf
02-06-07 03:25

As i already said on the 4th february, please provide
$ egrep "^(#|$)" .config of buildroot and uClibc

I can't help otherwise and will close this issue as cannot reproduce / invalid otherwise.
thanks
 
(0002140)
kriegaex
02-08-07 12:38
edited on: 02-08-07 14:03

I have the same problem and want to provide you with the information you requested. However, I am not a C programmer, thus no make/autoconf expert.

There is no file '.config' in strace's build root. Would you like to see the grep-ed version of config.log instead?

As for uClibc, there are several configurations for different firmware versions. Hopefully I figured out the version used by my mod.

I am attaching both files, filtered by egrep "^(#|$)", as requested. Is this helpful in any way?

Edit - some more info: While getting this error in strace-4.5.15, the build works fine for version 4.5.12. The tool works on the target system.

 
(0002144)
bernhardf
02-09-07 06:20

This was fixed a few days ago. Thanks for the report!
 

- Issue History
Date Modified Username Field Change
01-30-07 17:13 jcoppens New Issue
01-30-07 17:13 jcoppens Status new => assigned
01-30-07 17:13 jcoppens Assigned To  => uClibc
02-04-07 08:42 bernhardf Note Added: 0002099
02-04-07 08:42 bernhardf Status assigned => feedback
02-05-07 13:07 ctaylor Note Added: 0002121
02-06-07 03:25 bernhardf Note Added: 0002126
02-08-07 12:25 kriegaex Issue Monitored: kriegaex
02-08-07 12:38 kriegaex Note Added: 0002140
02-08-07 12:40 kriegaex File Added: strace.config.txt
02-08-07 12:40 kriegaex File Added: uClibc.config.txt
02-08-07 12:44 kriegaex Note Edited: 0002140
02-08-07 14:03 kriegaex Note Edited: 0002140
02-08-07 14:03 kriegaex Note Edited: 0002140
02-09-07 06:20 bernhardf Status feedback => closed
02-09-07 06:20 bernhardf Note Added: 0002144
02-09-07 06:20 bernhardf Resolution open => fixed
02-12-07 05:42 vapier Status closed => assigned
02-12-07 05:42 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker