On 01/10/09, 10:45:08, Dagobert Michelsen <[email protected]> wrote regarding Re: [csw-maintainers] V8+ binaries produced by gcc on build10s:
> >> > >> I've added -mno-v8plus to the compiler flags. gmake modenv says: > >> > >> CFLAGS = -O2 -pipe -mcpu=v8 -mno-v8plus -I/opt/csw/include > >> CXXFLAGS = -O2 -pipe -mcpu=v8 -mno-v8plus -I/opt/csw/include > >> > >> Why is gcc still producing V8+ binaries? Is there a way to > >> influence it? > > > > This seems like a bug. Is there something on the GCC lists? > It looks like the compilation is ok, but as the provided libs in > Solaris 10 > are sparcv8plus the resulting binary is also: > rxvtd: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ > Required, dynamically linked, not stripped > rxvtd.o: ELF 32-bit MSB relocatable SPARC Version 1 Because Solaris 10 is. Don't target a processor that can't run the OS. Set the compile flags to target what Solaris 10 will run. James. _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers
