[Bug 367334] New: Compiling gettext 0.16 with -O0 fails
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=367334 Summary: Compiling gettext 0.16 with -O0 fails Product: openSUSE 11.0 Version: Alpha 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: vuntz@novell.com QAContact: qa@suse.de Found By: --- It works fine with -O1 and -O2, but it fails with -O0. Here's the error I get: /bin/sh ../libtool --tag=CC --mode=link gcc -fopenmp -O0 -o msgmerge msgmerge-msgmerge.o msgmerge-msgl-fsearch.o msgmerge-plural-count.o libgettextsrc.la -lm -fopenmp gcc -fopenmp -O0 -o .libs/msgmerge msgmerge-msgmerge.o msgmerge-msgl-fsearch.o msgmerge-plural-count.o -fopenmp ./.libs/libgettextsrc.so /tmp/gettext-0.16/gettext-tools/gnulib-lib/.libs/libgettextlib.so -lc -lm msgmerge-msgmerge.o: In function `match_domain.omp_fn.0': msgmerge.c:(.text+0x22b0): undefined reference to `__sync_fetch_and_add_4' collect2: ld returned 1 exit status -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=367334
User pth@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367334#c1
Philipp Thomas
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=367334
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367334#c2
Michael Matz
participants (1)
-
bugzilla_noreply@novell.com