New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building in 64bit mode on solaris/amd64 fails #9669
Comments
From dima@orion.ifmo.ruThis is a bug report for perl from KOT@MATPOCKuH.Ru ----------------------------------------------------------------- and: # file lib/auto/File/Glob/Glob.so # export LD_PRELOAD=`pwd`/lib/auto/File/Glob/Glob.so But if LD_PRELOAD have another builded library Perl Info
|
From @doughera88On Mon, 2 Mar 2009, dima@orion.ifmo.ru (via RT) wrote:
Just a quick observation: Why the "-fPIC -fpic" combination? Doesn't the
-- |
The RT System itself - Status changed from 'new' to 'open' |
From guorong.koh@gmail.comOn Mon Mar 02 12:07:00 2009, doughera wrote:
After much searching, I found an answer here: Modifying hints/solaris_2.sh to change instances of '-G' to '-shared' |
From KOT@MATPOCKuH.RuI confirm that replacing "-G" to "-shared" in hints/solaris_2.sh solves PS. Build environment: |
From KOT@MATPOCKuH.Rusolaris2.patch--- hints/solaris_2.sh.orig Fri Feb 13 01:58:12 2009
+++ hints/solaris_2.sh Wed Mar 24 17:50:08 2010
@@ -300,7 +300,7 @@
END
ccdlflags="$ccdlflags -Wl,-E"
- lddlflags="$lddlflags -Wl,-E -G"
+ lddlflags="$lddlflags -Wl,-E -shared"
fi
fi
@@ -568,12 +568,12 @@
# ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
# fi
ldflags="$ldflags -m64"
- lddlflags="$lddlflags -G -m64"
+ lddlflags="$lddlflags -shared -m64"
;;
*)
ccflags="$ccflags `getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
ldflags="$ldflags `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`"
- lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`"
+ lddlflags="$lddlflags -shared `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`"
echo "int main() { return(0); } " > try.c
tryworkshopcc="${cc:-cc} try.c -o try $ccflags"
if test "$processor" = sparc; then
|
From @HugmeirOn Wed Mar 24 08:14:56 2010, KOT@MATPOCKuH.Ru wrote:
Looks like this patch was never applied. Should it be? |
Migrated from rt.perl.org#63604 (status was 'open')
Searchable as RT63604$
The text was updated successfully, but these errors were encountered: