[Top][All Lists]

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

Re: [Tinycc-devel] autoconfiscation

From: Simon 'corecode' Schubert
Subject: Re: [Tinycc-devel] autoconfiscation
Date: Thu, 30 Aug 2007 08:40:44 +0200
User-agent: Thunderbird (X11/20070728)

Rob Landley wrote:
The reason you can't run a glibc version of gcc against uClibc is that pieces of gcc like libgcc_s.so link against their libc, and leak references to that libc. So if you ever divide by a 64 bit number on a 32 bit platform or weird corner cases like that, a reference to glibc sneaks into your uClibc program. Since libgcc is part of the gcc source code, the only way to build a version of that library which leaks a reference the _right_ libc is to rebuild gcc against uClibc, from source code.

This is just because libgcc is dynamically linked.  You can change that, only 
producing a static version, which in turn never introduces references to  a 
specific libc.  Don't ask me how to do that officially, because my setup uses 
completely different makefiles alltogether.


Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]