lua-users home
lua-l archive

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


Hello.

a friend of mine had a problem like that(seg faults with simple tests).
He was using the dynamic library, the matter was apparently resolved
when he added -fpic (to the makefile), it might have been a
misconfiguration, but took a while to track down and fix. 
Funny things is that it worked when ran through valgrind.

I'm not sure what version of gcc he was using (prolly 3.3.2), but if 
he made a misconfiguration mistake, so could others.

Hope I'm not just blabbering ;)

On Mon, 2003-12-01 at 16:11, Roberto Ierusalimschy wrote:
> > What kind of problems?
> 
> Unexplained "seg. faults" with some simple tests.
> 
> In one machine it seems that the cause is the one Reuben has reported
> about dynamic linking. (I forgot that his problem was with this version
> of gcc.) The other machine uses static linking, but it is an Itanium CPU,
> so maybe the problem is not directly related to gcc 3.2.2. (So the next
> question would be about experience with Lua 5.0 in an Itanium machine ;)
> 
> -- Roberto
> 
> 
> ************************************************************
> Scanned by @lantic IS Virus Control Service
> This message was scanned for viruses and dangerous content.
> @lantic Internet Services (Pty) Ltd. - http://www.lantic.net
> eScan for Windows-based PCs - http://www.escan.co.za
> ************************************************************
>