Hi, On Gentoo/OpenBSD gcc doesn't compile with user-specifed CFLAGS. CFLAGS must be set to "-O2 -g" only. Also patch is needed. To toolchain@g.o: Could you add to toolchain.eclass in gcc_do_filter_flags() something like that (before GCJFLAGS=${GCJFLAGS:-${CFLAGS}} ): case ${CHOST} in *-openbsd*) CFLAGS="-O2 -g" ;; *) ;; Thanks
Created attachment 75741 [details, diff] patch for gcc on g/obsd Please for add this to gcc-3.4.x-patches
i dont really like that kind of CFLAG munging at all
added to gcc-3.4.5-r1