bugGNU gettext - Bugs: bug #35734, Compile failure in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #35734: Compile failure in gettext-runtime/intl/relocatable.c

Submitter:  Peter Seiderer <pseiderer>
Submitted:  Tue 06 Mar 2012 07:39:05 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Not a Bug
Privacy:  Public Assigned to:  ueno
Open/Closed:  Closed

Mon 05 May 2014 11:39:13 PM UTC, comment #3: 

I think it is a GDB specific issue.  relocatable.c depends on relocatable-lib.m4, which comes from the relocatable-lib Gnulib module:
https://gnu.org/software/gnulib/manual/html_node/Supporting-Relocation.html#Supporting-Relocation
and the file and the gl_RELOCATABLE_LIBRARY call are missing from the GDB source.

However, since the relocatable stuff does not seem to be used in GDB, maybe the easiest way is to just supply INSTALLPREFIX from the compiler command line?

(Closing for gettext now)

Daiki Ueno <ueno>
Group administrator
Mon 05 May 2014 09:56:50 PM UTC, comment #2: 

Checked with gettext-0.18.3.2, INSTALLPREFIX is supplied through config.h.

But INSTALLPREFIX is not supplied in the gdb-7.4 packed intl version (see link on busybox/buildroot bug report).

And INSTALLPREFIX is not supplied in my version (git version from two years ago 0c5051a4709e3418091e5961a630f9955b58edda) after running autogen.sh. I do not know what makes the difference, autoconf/autoheader version?

Peter Seiderer <pseiderer>
Fri 02 May 2014 10:02:03 AM UTC, comment #1: 

If I understand correctly, INSTALLPREFIX is implicitly supplied through config.h.  Isn't it sufficient?

Daiki Ueno <ueno>
Group administrator
Tue 06 Mar 2012 07:39:05 PM UTC, original submission:  

In case of PIC, INSTALLDIR and ENABLE_COSTLY_RELOCATABLE set, there needs to be INSTALLDIR and INSTALLPREFIX to be set/defined, but gettext-runtime/intl/Makefile.in fails to do so for INSTALLPREFIX.

Hit this case with buildroot and gdb-7.4 (containing a old version of intl), see https://bugs.busybox.net/show_bug.cgi?id=4868

Suggested patch attached.

Peter Seiderer <pseiderer>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)
  • -email is unavailable- added by pseiderer (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-27 haible CategoryNone Build
        Assigned toNone ueno
    2014-05-05 ueno StatusNone Not a Bug
        Open/ClosedOpen Closed
    2012-03-06 pseiderer Attached File- Added gettext-fix-intl-relocation-compile.patch, #25278

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code