|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
Re: [Xen-users] mysql & xen - is anyone using	this	combinationsuccessful 
| -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Laws wrote, On 25/05/05 11:49:
> Mark Williamson wrote, On 25/05/05 10:54:
> 
>>>>I'm using gentoo, and have specifically excluded the "nptl" USE flag to
>>>>prevent the new thread handling. I have no tls directory under /lib, so I
>>>>guess this is working (?)
>>>
>>>
>>>There's also a gcc flag for emitting direct TLS references directly in the 
>>>code (the TLS library does this, which is why we disable it).  The gcc flag 
>>>is "-mno-tls-direct-seg-refs".  Could this be your problem?  Does 
>>>recompiling, with no-tls-direct-seg-refs help?
I get this error from configure when trying this flag:
configure:2693: i686-pc-linux-gnu-gcc -mno-tls-direct-seg-refs
- -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS     conftest.c  >&5
cc1: error: invalid option `no-tls-direct-seg-refs'
I've checked the gcc info, and the nearest I can find is this:
`-ftls-model=MODEL'
     Alter the thread-local storage model to be used (*note
     Thread-Local::).  The MODEL argument should be one of
     `global-dynamic', `local-dynamic', `initial-exec' or `local-exec'.
     The default without `-fpic' is `initial-exec'; with `-fpic' the
     default is `global-dynamic'.
I'm not using pic.
# gcc --version
gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Any other ideas?
>>>
>>>Cheers,
>>>Mark
>>>
> 
> 
> Would I have to use this when compiling gcc or when compiling mysql? (FWIW I
> get the segv with both with a native mysql compilation under gentoo, and with
> the precompiled (statically linked) binaries from mysql)
> 
> [snip]
> 
> --
> Paul Laws
> Analyst / Programmer
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
- --
Paul Laws
Analyst / Programmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFClYi5YmQ8biuDK88RAoZhAJ9xrL86iGLmIxDcB2qvCFl/M8Gx6wCfZVXX
fccQy4FMMXg7jQ0zn2mrGR8=
=PYl5
-----END PGP SIGNATURE-----
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
Re: [Xen-users] mysql & xen - is anyone using	this	combinationsuccessfully?, (continued)
Re: [Xen-users] mysql & xen - is anyone using	this	combinationsuccessfully?,
Paul Laws <=
 |  |  | 
  
    |  |  |