Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10967 closed defect (fixed)

libsigc++ must be upgraded to build on GCC 4.6

Reported by: jeff@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

libsigc++ 2.2.9 upstream includes patches that are necessary to build successfully on GCC 4.6. See http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.9.news for the release announcement that indicates this.

libsigc++ 2.2.10 is the latest version.

See also this ticket which claims to fix the compilation errors: /ticket/9961.html

Currently, build of the the latest libsigc++ in packages/ results in this:

../sigc++/signal_base.h:48:11: error: 'size_t' does not name a type
../sigc++/signal_base.h:97:3: error: 'size_type' does not name a type
../sigc++/signal_base.h:241:11: error: 'size_t' does not name a type
../sigc++/signal_base.h:263:3: error: 'size_type' does not name a type
../sigc++/signal.h:33:11: error: 'size_t' does not name a type
../sigc++/signal.h:34:11: error: 'ptrdiff_t' does not name a type
../sigc++/signal.h:99:11: error: 'size_t' does not name a type
../sigc++/signal.h:100:11: error: 'ptrdiff_t' does not name a type
../sigc++/signal.h:276:11: error: 'size_t' does not name a type
../sigc++/signal.h:277:11: error: 'ptrdiff_t' does not name a type
../sigc++/signal.h:359:11: error: 'size_t' does not name a type
../sigc++/signal.h:360:11: error: 'ptrdiff_t' does not name a type
../sigc++/signal.h:430:11: error: 'size_t' does not name a type
../sigc++/signal.h:431:11: error: 'ptrdiff_t' does not name a type
../sigc++/signal.h:515:11: error: 'size_t' does not name a type
../sigc++/signal.h:516:11: error: 'ptrdiff_t' does not name a type
make[7]: *** [signal.lo] Error 1
make[6]: *** [all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [/home/jeff/dev/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33/libsigc++-2.2.8/.built] Error 2
make[2]: *** [package/feeds/packages/libsigc++/compile] Error 2
make[1]: *** [/home/jeff/dev/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33/stamp/.package_compile] Error 2
make: *** [world] Error 2

Attachments (1)

upgrade_libsigc++.diff (531 bytes) - added by jeff@… 6 years ago.
upgrade libsigc++ from 2.2.8 to 2.2.10

Download all attachments as: .zip

Change History (4)

comment:1 Changed 6 years ago by jeff@…

libsigc++ seems to compile fine and the image build completes for me after applying the attached patch.

Changed 6 years ago by jeff@…

upgrade libsigc++ from 2.2.8 to 2.2.10

comment:2 Changed 6 years ago by swalker

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r30514, thanks.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.