After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315384 - version-0.31 fails to build when using gcc-3.3.3
version-0.31 fails to build when using gcc-3.3.3
Status: RESOLVED NOTGNOME
Product: gnome-cups-manager
Classification: Deprecated
Component: gnome-cups-manager
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-09-06 18:05 UTC by Joseph Sacco
Modified: 2008-01-29 13:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
snmpkit: patched against Debian snmp_0.9-11 (12.77 KB, patch)
2005-09-07 18:18 UTC, Joseph Sacco
none Details | Review

Description Joseph Sacco 2005-09-06 18:05:51 UTC
Version details: gnome-cups-manager-0.31
Distribution/Version: YDL-4.0.1

System: PPC running YDL-4.0.1, gcc-3.3.3


link failure while building .libs/gnome-cups-add:

                            ...

../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::length(unsigned char const*)'
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::compare(unsigned char const*, unsigned char
const*, unsigned)'
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::assign(unsigned char*, unsigned, unsigned char)'
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::copy(unsigned char*, unsigned char const*,
unsigned)'
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::move(unsigned char*, unsigned char const*,
unsigned)'


NOTE: version 0.30 builds without incident
Comment 1 Jody Goldberg 2005-09-06 19:57:44 UTC
I can't replicate this.  Those are templates and should have been generated at
compile time.
Comment 2 Joseph Sacco 2005-09-06 20:22:54 UTC
Maybe it's a gcc issue? As I mentioned, version 0.30 builds without incident.

Thoughts???

-Joseph
Comment 3 Joseph Sacco 2005-09-06 20:32:22 UTC
Jody,

Just ran an experiment. Version 0.31 builds using GCC-4.0.1. 

Since version 0.30 built with GCC-3.3.3, the question now is "What changed that
would have adversely effected these templates?"

-Joseph
Comment 4 Joseph Sacco 2005-09-06 21:01:24 UTC
Jody,

Ran one more experiment. Version 0.31 also builds with GCC-3.4.3.

So... Something changed between 0.30 ->0.31 that has tickled a gcc bug.

I will poke at this a bit more.

-Joseph
Comment 5 Joseph Sacco 2005-09-07 02:02:05 UTC
Jody,

If I replace ./libgnomecups/snmpkit with the source from version-0.30, the
problem "goes away".

-Joseph
Comment 6 Joseph Sacco 2005-09-07 16:07:13 UTC
Jody,

One more experiment...  

Replaced the source in snmpkit with the Debian version, snmpkit_0.9-11

   http://ftp.debian.org/debian/pool/main/s/snmpkit


Builds using gcc-3.3.3.

-Joseph
Comment 7 Joseph Sacco 2005-09-07 18:18:39 UTC
Created attachment 51929 [details] [review]
snmpkit:  patched against Debian snmp_0.9-11

This patch is a diff between the existing source in snmpkit and Debian
snmp_0.9-11.  With this patch applied, gnome-cups-manager builds using
gcc-3.3.3 as well as gcc-4.0.1

-Joseph
Comment 8 Kjartan Maraas 2008-01-29 13:10:47 UTC
Moving all gnome-cups-manager bugs to new product. Filter on Kjartan's spring cleaning.