Opened 4 weeks ago

Last modified 7 days ago

#14 assigned defect

Allow programs to override libc symbols

Reported by: Vladimír Štill Owned by: blurrymoi
Priority: major Milestone: future
Component: divcc Keywords:


int write() { return 42; }
int main() { return write(); }

This code can be normally compiled by gcc. But it does not load in DIVINE:

error: Linking globals named 'write': symbol multiply defined!

Change History (1)

comment:1 Changed 7 days ago by mornfall

Component: benchdivcc
Owner: changed from mornfall to blurrymoi
Status: newassigned
Summary: Fix linking programs that define symbols with names of libc functionAllow programs to override libc symbols
Note: See TracTickets for help on using tickets.