[Aurora-sparc-devel] [SPARC64] pam-0.77-66.2.13.src.rpm
Christian Joensson
christian.joensson at gmail.com
Tue May 23 07:49:46 EDT 2006
[Maybe a bit off topic here, let me know if I should drop this(these?)
thread(threads), for now, I hope you can accept the information herein
as memory support for me and others interested until the foot is set
down on what the Aurora project wants with sparc64 variants...]
well, doesn't build as sparc64 variant, I suspect a hardcoded use of
ld not via gcc (and thus CC='gcc -m64') is the issue:
ar -cr libpwdb.a common/commonio.o common/grcommon.o common/lockpw.o
common/misc.o unix/group.o unix/passwd.o unix/pwio.o unix/groupio.o
shadow/gshadow.o shadow/shadow.o shadow/shadowio.o shadow/sgroupio.o
nis/group.o nis/password.o decnis/group.o decnis/password.o
radius/radius.o radius/util.o radius/md5.o radius/helpfunc.o
radius/dict.o pwdb/pwdb_error.o pwdb/pwdb_helper.o pwdb/pwdb_locate.o
pwdb/pwdb_module.o pwdb/pwdb_start.o posix/pwd.o posix/grp.o
posix/getlogin.o posix/undefined.o
ranlib libpwdb.a
ld -soname libpwdb.so.0 -x -shared -o libpwdb.so.0.62
common/commonio.o common/grcommon.o common/lockpw.o common/misc.o
unix/group.o unix/passwd.o unix/pwio.o unix/groupio.o shadow/gshadow.o
shadow/shadow.o shadow/shadowio.o shadow/sgroupio.o nis/group.o
nis/password.o decnis/group.o decnis/password.o radius/radius.o
radius/util.o radius/md5.o radius/helpfunc.o radius/dict.o
pwdb/pwdb_error.o pwdb/pwdb_helper.o pwdb/pwdb_locate.o
pwdb/pwdb_module.o pwdb/pwdb_start.o posix/pwd.o posix/grp.o
posix/getlogin.o posix/undefined.o -lcrypt -lnsl -lc
ld: warning: sparc:v9 architecture of input file `common/commonio.o'
is incompatible with sparc output
etc.
In /usr/src/redhat/BUILD/Linux-PAM-0.77/pwdb-0.62/libpwdb/ we find in
the Makefiles this line:
$(LIBDYNAME): $(LIBOBJ)
$(LD) -soname $(LIBSONAME) -x -shared -o $(LIBFILENAME) $(LIBOBJ)
-lcrypt -lnsl -lc
So, I tried this rpmbuild instead:
LD='gcc -m64' CC='gcc -m64' CXX='g++ -m64' rpmbuild --rebuild
pam-0.77-66.2.13.src.rpm --target=sparc64
but the build failed in the same way... so, no go as sparc64 variant
--
Cheers,
/ChJ
More information about the Aurora-sparc-devel
mailing list