[Samba] Re: AIX Testers Needed.

William Jojo jojowil at hvcc.edu
Thu Sep 28 14:49:47 GMT 2006


----- Original Message ----- 
From: "Stefan (metze) Metzmacher" <metze at samba.org>
To: "William Jojo" <jojowil at hvcc.edu>
Cc: "Carlos Eduardo Pedroza Santiviago" <segfault at core-dumped.org>;
<samba at lists.samba.org>; <samba-technical at lists.samba.org>
Sent: Thursday, September 28, 2006 10:30 AM
Subject: Re: AIX Testers Needed.


> >>
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 ?

Definitely. :-)


Cheers,

Bill


> -----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