This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/40790] plugin-api.h unconditionally includes stdint.h



------- Comment #9 from espindola at google dot com  2009-10-08 18:20 -------
(In reply to comment #8)
> Raphael, can you look into this?
> 

Sure. Sorry about the delay.

The only thing the compiler should need the plugin-api.h for is the enum 
ld_plugin_symbol_resolution. If we split plugin-api.h in two, we would be able
to compile gcc itself without stdint.h.

The problem with this approach is that the lto plugin would still fail to build
in a system without stdint.h. Is it OK to have optional features like the gold
plugin not supported in systems like "Tru64 UNIX V4.0F"?

Yet another possibility would be to change the build system so that we always
build the lto plugin with xgcc (in addition to the plugin-api.h split). No idea
how hard this is.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40790


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]