-----BEGIN PGP SIGNED MESSAGE-----
William Jojo schrieb:
> ----- Original Message -----
> From: "Stefan (metze) Metzmacher" <metze@xxxxxxxxx>
> To: "Carlos Eduardo Pedroza Santiviago" <segfault@xxxxxxxxxxxxxxx>
> Cc: "William Jojo" <jojowil@xxxxxxxx>; <samba@xxxxxxxxxxxxxxx>;
> Sent: Thursday, September 28, 2006 8:31 AM
> Subject: Re: AIX Testers Needed.
> Carlos Eduardo Pedroza Santiviago schrieb:
>>>>> What I'd like to do instead is make as much of the package dependant
>>>>> shared libs and to allow for completeness of the package. In other
>>>>> BDB, OpenSSL, OpenLDAP, SASL, KRB5, libiconv and gcc shared libs are
>>>>> 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,
> ld: 0711-783 WARNING: TOC overflow. TOC size: 90328 Maximum size:
> 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
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
-----END PGP SIGNATURE-----