in reply to Building perl from source

sh Configure -des -Dcc="gcc -m32 -Dusethreads -Duserelocatableinc" -Dprefix=/usr/Thirdparty/perl/5.28.0/

There's no point in providing "-Dusethreads -Duserelocatableinc" as arguments for gcc to process. It won't understand them.
Run make distclean and try again with:
sh Configure -des -Dcc="gcc -m32" -Dusethreads -Duserelocatableinc -Du +selongdouble -Duse64bitint -Dprefix=/usr/Thirdparty/perl/5.28.0/
You could also try -Duse64bitall instead of -Duse64bitint.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Building perl from source
by Tux (Canon) on Sep 10, 2019 at 12:09 UTC

    The combination of gcc option -m32 is likely to conflict with -Duse64bitall or its implications. -Duse64bitint should work though.


    Enjoy, Have FUN! H.Merijn
      The combination of gcc option -m32 is likely to conflict with -Duse64bitall or its implications

      Yeah - I wasn't sure if -Duse64bitall would inevitably fail to provide the 64bit pointers on an -m32 build, and I also wondered whether Osprey actually wanted the -m32 arg.
      In the end, rather than providing any detailed explanation, I just left it as a suggestion that might be tried - something that can be discussed further if Osprey is so inclined.

      IIRC, if -Duse64bitint delivers 64bit integers then -Duse64bitall will do the same, even if it fails to deliver 64bit pointers.

      Cheers,
      Rob