Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000504Dev ToolsBinutils XGATEpublic2012-01-16 17:042012-01-16 17:06
ReporterFred 
Assigned Tosean94z 
PriorityhighSeverityblockReproducibilityalways
StatusassignedResolutionopen 
PlatformApple MacOSOS XOS Version10.6
Summary0000504: Builds Fail On #include <malloc.h> Line
DescriptionFreeAir:src fred$ grep -rn include bfd/ | grep malloc
bfd/configure:13665:ac_fn_c_check_decl "$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
bfd/configure.com:287:/* Whether malloc must be declared even if <stdlib.h> is included. */
bfd/elf32-xgate.c:29:#include <malloc.h>

I'm 99.99999% sure that you should not be including that file. Please remove it on your side as the generated headers probably already provide it for you. If the build stops working, look at other headers included by other bfd impls, such as libiberty.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0001124)
sean94z (reporter)
2012-01-16 17:06

I believe you are correct. Let me get on it!


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker