[Top][All Lists]

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

Re: [Tinycc-devel] shared libraries broken..ish

From: Rob Landley
Subject: Re: [Tinycc-devel] shared libraries broken..ish
Date: Sat, 18 Aug 2007 01:03:58 -0500
User-agent: KMail/1.9.6

On Tuesday 26 September 2006 5:17:04 pm Andrew Johnson wrote:
> After patching tcc with the simple change for compound literals, I
> discovered that shared libraries don't work. Trying to use a shared library
> built in tcc, caused instant crashing. and gdb just gave a nice long list
> of ??.
> Quite by accident, I discovered that after running strip on the resulting
> .so, it worked. I tried this with several other shared libraries, and it
> was the same in each one, all libraries are useless on build.. but after
> running strip on them, they appear to work fine.
> Sometimes the actual binary grows on strip. Could it be that tcc is not
> properly building the structure for shared libraries, but close enough that
> strip fixes it?
> I can deal for now, since strip "fixes" it for me, but if anyone has ideas,
> or a real fix I would appreciate it :)
> Andrew

Is this still a problem?

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

reply via email to

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