Bug 125833

Summary: cannot build collection using amaroK built using GCC 4.1.0
Product: [Applications] amarok Reporter: amdfanatyk <amdfanatyk>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: 1.4beta3
1.4beta3 --enable-postgresql
current svn

Description amdfanatyk 2006-04-18 21:43:21 UTC
Version:           1.4beta3, 1.3.9, probably earlier too (using KDE KDE 3.5.2)
Installed from:    Compiled From Sources
Compiler:          GCC 4.1.0 built from source
OS:                Linux

it's very strange but amaroK 1.4beta3/1.3.9 copiled by GCC 4.1.0 doesn't work properly; building collection doesn't work while the same source on the same os compiled by GCC 4.0.2 works correctly.
Comment 1 amdfanatyk 2006-04-18 21:44:09 UTC
Created attachment 15677 [details]
1.4beta3
Comment 2 Peter C. Ndikuwera 2006-04-19 16:45:11 UTC
Seems to be an sqlite problem. Does it work with MySQL/PostgreSQL?
Comment 3 amdfanatyk 2006-04-19 18:01:10 UTC
as i mentioned it depends on compiler, sqlite is always 3.1.2; looks like gcc 4.1.0 miscompile amarok.
Comment 4 Mark Kretschmann 2006-04-19 18:21:27 UTC
More likely: Your TagLib was built with a different GCC version. So rebuild it.
Comment 5 amdfanatyk 2006-04-19 21:09:32 UTC
unfortunately it didn't help.
Comment 6 Mark Kretschmann 2006-04-19 21:48:09 UTC
OK, so I'm reopening it. I still don't believe that GCC 4.1 miscompiles amaroK, though.
Comment 7 amdfanatyk 2006-04-19 22:03:55 UTC
it may be strange and probably You won't believe until You compile it using 4.1.
Comment 8 Alexandre Oliveira 2006-04-20 02:15:12 UTC
Test this with MySQL or PostgreSQL, as requested.
Comment 9 amdfanatyk 2006-04-20 22:47:41 UTC
Created attachment 15708 [details]
1.4beta3 --enable-postgresql

doesn't work too.
Comment 10 amdfanatyk 2006-04-28 19:32:44 UTC
Created attachment 15831 [details]
current svn

still doesn't work.
Comment 11 Mark Kretschmann 2006-04-30 14:34:44 UTC
Alright, we've tested it:

15:21 < leinir> That's balls
15:22 < leinir> i am using GCC 4.1, and it works here
Comment 12 amdfanatyk 2006-05-12 18:25:10 UTC
there is one rule - if u want claim that software works good it must work for everybody, if it doesn't work at least for one person it is buggy and its your problem you cannot reproduce that bug on your own and fix it.
Comment 13 Shane King 2006-05-16 23:19:43 UTC
Well, since nobody here (as far as I know) wrote gcc, it's not anyone here's job to fix your installation of it. Go off and ask the gcc devs why their product can't compile amaroK for you when it does for other people if you believe someone owes you a fix.

Comment 14 amdfanatyk 2006-05-17 17:20:58 UTC
man i can build amarok using gcc 4.1.0, i cannot build collection datebase, is it so hard to uderstand that?
Comment 15 Martin Aumueller 2006-05-17 17:39:20 UTC
Is it so hard to understand that the assumption from our side is that gcc 4.1.0 has bugs which lead to amarok not working as it was programmed?
Comment 16 amdfanatyk 2006-05-17 18:15:14 UTC
gcc bug is unlikely reason for mentioned malfunction; frequently old source code doesn't work with new compiler (for instance older kernels won't compile or won't work correctly with newest gcc), so it would be a good idea to look for a bug in amarok not in gcc.
Comment 17 Shane King 2006-05-17 23:51:05 UTC
That is true, but the bug was closed because other people reported it to work. Therefore either the people who reported it working are lying, or you have some local problem with your installation that we can't help you with. Sorry.