Description of Problem: glibc-2.2.3-10.src.rpm rebuild causes segmentation fault. How Reproducible: Regenerates this error always. Steps to Reproduce: 1. rpm -i glibc-2.2.3-10.src.rpm 2. rpm -bb --target=i686 /usr/src/redhat/SPECS/glibc.spec 3. Actual Results: -------- make[2]: Entering directory `/usr/src/redhat/BUILD/glibc-2.2.3/locale' loadlocale.c: In function `_nl_load_locale': loadlocale.c:231: Internal error: Segmentation fault. Please submit a full bug report. -------- Expected Results: Additional Information:
Which gcc are you using? It works just fine for me...
Sorry. One of my collgees edited the spec file and changed -march=i686 in the RPM_OPT_FLAGS to -march=athlon. This is an athlon based system. with -march=i686 it compiles fine but it makes only one rpm. How can I update my RedHat 7.1 glibc 2.2.2 to 2.2.3? (glibc. glibc-devel and glibc-common packages)
I've changed -march=%{_target_cpu} to -march=athlon and it compiled just fine too (in glibc-2.2.3-10 so that we work on the same sources). BTW: If you want glibc-devel, glibc-common etc., you should do rpm -bb --target=i386 glibc.spec too, those subpackages are just for the base architectures (and there is not much gain if you build i686 optimized locale description data files etc.).