[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Microblaze C++ pthreads linking problems



Hi There,
 
Just wanted to post an update on the strange linking message mentioned earlier. Using objdump I tracked it down to gets() function calls. Removing all those makes the linking message disappear.
 
/Otto

 
On 4/29/08, Brettschneider Falk <fbrettschneider@xxxxxxxxxxxxxxx> wrote:
Hi,

try to remove your first -lpthread, only use the last one. The linker walks the arguments from left to right and will prevent linking against all functions which are not seen as used till that moment. That's why the base libs should always be placed in the list of linker arguments as right as they can be, otherwise the object code may be missed in the end.
I have no idea about your strange warning though...

CU, Falk

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/