RE : RE : RE : [fpc-pascal] Linux i386 libraries and PIC

2011-06-02 Thread Ludo Brands
> > In systutils, most are push imm32 DefaultFormatSettings > (sysstr.inc). DefaultFormatSettings is defined in sysinth.inc > where it's declaration is followed by Formatsettings : > TFormatSettings absolute DefaultFormatSettings; . Is the > absolute directive known to cause PIC problems? >

RE : RE : RE : [fpc-pascal] Linux i386 libraries and PIC

2011-06-02 Thread Ludo Brands
I also noticed that all the "offending" routines start with a call fpc_geteipasebx which is typical for PIC, isn't it? Ludo ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

RE : RE : [fpc-pascal] Linux i386 libraries and PIC

2011-06-02 Thread Ludo Brands
'origine- > De : fpc-pascal-boun...@lists.freepascal.org > [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part > de Ludo Brands > Envoyé : mercredi 1 juin 2011 17:17 > À : 'FPC-Pascal users discussions' > Objet : RE : [fpc-pascal] Linux i386 libraries and PIC &

RE : [fpc-pascal] Linux i386 libraries and PIC

2011-06-01 Thread Ludo Brands
23 > À : 'FPC-Pascal users discussions' > Objet : [fpc-pascal] Linux i386 libraries and PIC > > > Dear all, > > I'm trying to create a library on linux i386 that contains > only PIC code. The library is a driver that runs unconfined > causing SELinux (

RE : [fpc-pascal] Linux i386 libraries and PIC

2011-06-01 Thread Ludo Brands
I also tried 1) and 2) with "-fPIC -Aas" as suggested in some PIC related bug reports but they crash at same point. > 1) (bootstrap compiler 2.4.4) > make clean all OPT="-fPIC" > --> EAccessViolation when compiling system.pp with ppc386 (the > --> bootstrap) > > 2) (bootstrap compiler 2.5.1 bui

RE : [fpc-pascal] Linux i386 libraries and PIC

2011-06-01 Thread Ludo Brands
;origine- > De : fpc-pascal-boun...@lists.freepascal.org > [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part > de Felipe Monteiro de Carvalho > Envoyé : mercredi 1 juin 2011 15:42 > À : FPC-Pascal users discussions > Objet : Re: [fpc-pascal] Linux i386 libraries and

Re: [fpc-pascal] Linux i386 libraries and PIC

2011-06-01 Thread Felipe Monteiro de Carvalho
Maybe you are using something from the FCL, so you would need to rebuild that too -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Linux i386 libraries and PIC

2011-06-01 Thread Ludo Brands
Dear all, I'm trying to create a library on linux i386 that contains only PIC code. The library is a driver that runs unconfined causing SELinux (Fedora) to block the loading of the library. The library is compiled with -fPIC but eu-findtextrel reports a lot of relocations (4933 in my library and