> wj wrote: > > > My enviroment is: 5.10 Generic sun4u sparc SUNW,Sun-Fire-V250. > > You can't build OpenSolaris on Solaris 10. You need a recent version of > the Nevada Community Release to build OpenSolaris.
Yep. Building OpenSolaris on Solaris 10 isn't tested, so it may or may not work. I'm building OpenSolaris on S10 x86 and I also noticed the missing "-znoreloc" support with the S10 linker /usr/ccs/bin/ld. My workaround is to simply remove the -znoreloc option from usr/src/uts/Makefile.uts, by adding a empty "ZNORELOC=" Makefile variable: 447 # 448 # Rule for building fake shared libraries used for symbol resolution 449 # when building other modules. -znoreloc is needed here to avoid 450 # tripping over code that isn't really suitable for shared libraries. 451 # 452 ZNORELOC= 453 BUILD.SO = \ 454 $(LD) -o $@ $(GSHARED) $(ZNORELOC) -h $(SONAME) Works for me on the x86 platform. But I'm not sure if this workaround is OK for the sparc build. This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list [email protected]
