[Bug 255916] New: Missing "-fPIC -DPIC" in mxml
https://bugzilla.novell.com/show_bug.cgi?id=255916 Summary: Missing "-fPIC -DPIC" in mxml Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: mrueckert@novell.com ReportedBy: detlef@die-mafia.de QAContact: qa@suse.de Get this error when build MusE on 10.2 x86_64: [ 96%] Building CXX object synti/zynaddsubfx/CMakeFiles/zynaddsubfx.dir/Synth/SUBnote.o [ 96%] Building CXX object synti/zynaddsubfx/CMakeFiles/zynaddsubfx.dir/main.o /usr/X11R6/include/FL/Fl_Image.H: In constructor 'Fl_RGB_Image::Fl_RGB_Image(const uchar*, int, int, int, int)': /usr/X11R6/include/FL/Fl_Image.H:95: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/packages/BUILD/lmuse/muse/build/synti/zynaddsubfx/BankUI.h: At global scope: /usr/src/packages/BUILD/lmuse/muse/build/synti/zynaddsubfx/BankUI.h:15: warning: 'class BankProcess_' has virtual functions but non-virtual destructor /usr/src/packages/BUILD/lmuse/muse/build/synti/zynaddsubfx/PartUI.h:34: warning: 'class PartUI_' has virtual functions but non-virtual destructor Linking CXX shared library zynaddsubfx.so /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/libmxml.a(mxml-attr.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/libmxml.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [synti/zynaddsubfx/zynaddsubfx.so] Error 1 make[1]: *** [synti/zynaddsubfx/CMakeFiles/zynaddsubfx.dir/all] Error 2 make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.78506 (%build) Please rebuild mxml with: %build export CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" %configure --with-docdir=%{_docdir}/%{name} %{__make} Thx -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255916 ------- Comment #1 from andreas.hanke@gmx-topmail.de 2007-03-19 16:58 MST ------- -DPIC is not necessary. Btw. I'd suggest a completely different fix: Simply enable the shared library build, --enable-shared. In the spec file I can also find %run_ldconfig which is completely superfluous for packages without shared libraries, this indicates that shared libraries were probably intended at some point. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255916 mrueckert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #2 from mrueckert@novell.com 2007-03-19 17:01 MST ------- detlef is asking if we can rerelease that as update for older products too. any chance? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255916 judas_iscariote@shorewall.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |judas_iscariote@shorewall.net ------- Comment #3 from judas_iscariote@shorewall.net 2007-03-19 18:48 MST -------
'Fl_RGB_Image::Fl_RGB_Image(const uchar*, int, int, int, int)': /usr/X11R6/include/FL/Fl_Image.H:95: warning: dereferencing type-punned pointer will break strict-aliasing rules
.. and -fno-strict-aliasing in CFLAGS ;-P -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255916 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com ------- Comment #4 from aj@novell.com 2007-03-20 02:00 MST ------- Please follow comment #1 and build a shared library instead of a static one. If that is done, I'll approve the release for 10.2. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255916 mrueckert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #6 from mrueckert@novell.com 2007-04-25 08:47 MST ------- package submitted for 10.2 and stable. for stable i splitted out a devel package and removed unneeded buildrequires. for the 10.2 package i did only minimal changes. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255916 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|aj@novell.com |ast@novell.com ------- Comment #7 from aj@novell.com 2007-04-25 11:34 MST ------- Ok with me - Anja, your job now ;-) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255916 ast@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|ast@novell.com | ------- Comment #8 from ast@novell.com 2007-04-26 06:04 MST ------- ok :-) SWAMPID is 9634 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255916#c10 Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrueckert@novell.com Status|NEW |RESOLVED Resolution| |FIXED --- Comment #10 from Marcus Rückert <mrueckert@novell.com> 2007-08-22 17:40:07 MST --- patchinfo submitted. closing. sorry for the delay. -- 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://bugzilla.novell.com/show_bug.cgi?id=255916#c11 --- Comment #11 from Anja Stock <ast@novell.com> 2007-09-10 09:41:08 MST --- released -- 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.
participants (1)
-
bugzilla_noreply@novell.com