[Samba] Re: AIX Testers Needed.

Stefan (metze) Metzmacher metze at samba.org
Thu Sep 28 14:30:14 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

William Jojo schrieb:
> ----- Original Message ----- 
> From: "Stefan (metze) Metzmacher" <metze at samba.org>
> To: "Carlos Eduardo Pedroza Santiviago" <segfault at core-dumped.org>
> Cc: "William Jojo" <jojowil at hvcc.edu>; <samba at lists.samba.org>;
> <samba-technical at lists.samba.org>
> Sent: Thursday, September 28, 2006 8:31 AM
> Subject: Re: AIX Testers Needed.
> 
> 
> Carlos Eduardo Pedroza Santiviago schrieb:
>>>> Hi,
>>>>> What I'd like to do instead is make as much of the package dependant
>> upon
>>>>> shared libs and to allow for completeness of the package. In other
>> words,
>>>>> BDB, OpenSSL, OpenLDAP, SASL, KRB5, libiconv and gcc shared libs are
>> all
>>>>> included as *complete* packages; you'll have an LDAP server, Kerberos
>>>>> support, SSL and Berkeley tools for hot backups and recovery.
> It would be really nice to have some more AIX machines in our build-farm!
> 
>> How many? I'm adding 8 more CPUs and 16GB to our 560 Saturday (which is one
>> of many reasons my AIX patches are way behind)
> 
>> I can create you a .4 entitled VIOC (presented as 2 VCPU with SMT, so 4
>> logical CPU) with 2 GB memory. How much disk does it need?
> 
> 
> Btw: the SAMBA_3_0 branch currently fails to build on AIX,
> 
> 
>> http://build.samba.org/?function=View+Build;host=aix1;tree=samba_3_0;compiler=gcc
> with:
> ld: 0711-783 WARNING: TOC overflow. TOC size: 90328     Maximum size:
>> 65536
>         Extra instructions are being generated for each reference to a TOC
>         symbol if the symbol is in the TOC overflow area.
> 
> 
>> I fixed this a couple of times. :-)  You need "-bbigtoc" anywhere you do
>> linking (shared libs, execs, etc)

In samba4 we use this:

  CPP        = ccache gcc -E
  CPPFLAGS   = -I./include -I. -I./lib -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
  CC         = ccache gcc
  CFLAGS     = -Wall -I./include -I. -I./lib -D_SAMBA_BUILD_=4
- -DHAVE_CONFIG_H
  PICFLAG    = -O2
  LD         = ccache gcc
  LDFLAGS    = -Wl,-brtl,-bexpall,-bbigtoc -L./bin
  STLD       = /usr/bin/ar
  STLD_FLAGS = -rcs
  SHLD       = ccache gcc
  SHLD_FLAGS = -Wl,-G,-bexpall -L./bin
  SHLIBEXT   = so

should I change SHLD_FLAGS to -Wl,-G,-bexpall,-bbigtoc -L./bin ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFG9x2m70gjA5TCD8RArCNAJ0R6EHTuTkKM2rb3FlqoWq9Ld9EkwCfXql4
f6SRDgmj5razPa7NZcw9F9E=
=FnjF
-----END PGP SIGNATURE-----


More information about the samba mailing list