bugfindutils - Bugs: bug #21454, findutils-4.3.8 fails to compile...

 
 

bug #21454: findutils-4.3.8 fails to compile with gcc-4.2.2/glibc-2.7 in mbuiter.h

Submitted by:  Weedy <weedy>
Submitted on:  Mon 29 Oct 2007 05:39:58 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Compilation FailureStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.3.8Fixed Release: 4.3.9

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 11 Nov 2007 07:22:34 PM UTC, comment #3:

findutils-4.3.9 uses a newer version of gnulib, and so this problem should be fixed.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 10 Nov 2007 10:27:52 PM UTC, comment #2:

Gentoo has a fix for this in Gentoo bug 197326
http://bugs.gentoo.org/show_bug.cgi?id=197326

Anonymous
Sat 10 Nov 2007 03:26:30 PM UTC, comment #1:

I can't reproduce this here (since I have a different GCC version) but I wonder if the code is not seeing the #define/typedef for ptrdiff_t in <stddef.h>. Other than that I am not sure what might have caused this error.

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 29 Oct 2007 05:39:58 AM UTC, original submission:

This is probably my fault for using such a unstable toolchain but who knows. But maybe I be filing this in the gnulib bug system?

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -march=pentium4 -Os -pipe -fweb -fforce-addr -fgcse-after-reload -MT mbscasestr.o -MD -MP -MF .deps/mbscasestr.Tpo -c -o mbscasestr.o mbscasestr.c
mv -f .deps/c-strstr.Tpo .deps/c-strstr.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -march=pentium4 -Os -pipe -fweb -fforce-addr -fgcse-after-reload -MT mbslen.o -MD -MP -MF .deps/mbslen.Tpo -c -o mbslen.o mbslen.c
mv -f .deps/mbchar.Tpo .deps/mbchar.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -march=pentium4 -Os -pipe -fweb -fforce-addr -fgcse-after-reload -MT mbsstr.o -MD -MP -MF .deps/mbsstr.Tpo -c -o mbsstr.o mbsstr.c
In file included from mbslen.c:26:
mbuiter.h:185: error: expected declaration specifiers or ‘...’ before ‘ptrdiff_t’
mbuiter.h: In function ‘mbuiter_multi_reloc’:
mbuiter.h:187: error: ‘ptrdiff’ undeclared (first use in this function)
mbuiter.h:187: error: (Each undeclared identifier is reported only once
mbuiter.h:187: error: for each function it appears in.)
make[4]: *** [mbslen.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/mbscasestr.Tpo .deps/mbscasestr.Po
mv -f .deps/mbsstr.Tpo .deps/mbsstr.Po
mv -f .deps/getdate.Tpo .deps/getdate.Po
make[4]: Leaving directory `/var/tmp/portage/sys-apps/findutils-4.3.8-r1/work/findutils-4.3.8/gnulib/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-apps/findutils-4.3.8-r1/work/findutils-4.3.8/gnulib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/findutils-4.3.8-r1/work/findutils-4.3.8/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/findutils-4.3.8-r1/work/findutils-4.3.8'
make: *** [all] Error 2

Weedy <weedy>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jay (Posted a comment)
  • -unavailable- added by weedy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Nov 2007 07:48:34 PM UTCjayOpen/ClosedOpen=>Closed
      Fixed Release4.3.8=>4.3.9
    Sun 11 Nov 2007 07:22:34 PM UTCjayStatusNone=>Fixed
      Assigned toNone=>jay

    Back to the top


    Powered by Savane 3.1-cleanup1