dc hitting a compiler bug, or undefined behavior
Lauri Kasanen
curaga at operamail.com
Sun Mar 30 09:18:41 UTC 2014
Hi,
I'm seeing busybox dc acting funny when compiled with some versions of
gcc. This is on busybox git. The x86 binary busybox_unstripped and
config are attached.
gcc 4.2.2 - ok
gcc 4.7.2:
nc 10 1 add p
2.738e+93
So either bb is hitting a compiler bug, or undefined behavior somewhere
with new gcc's more aggressive optimizations.
- Lauri
--
http://www.fastmail.fm - Email service worth paying for. Try it for free
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox_unstripped.gz
Type: application/x-gzip
Size: 8707 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140330/027efa0c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb-config.gz
Type: application/x-gzip
Size: 5647 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140330/027efa0c/attachment-0003.bin>
More information about the busybox
mailing list