Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6041 - sablotron fails to compile
Summary: sablotron fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-05 10:29 UTC by Andrei Ivanov
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2002-08-05 10:29:35 UTC
sablotron-0.95-r1 fails to compile:

c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -march=i686 -O3 -pipe -fforce-addr -
fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -
malign-functions=4 -c parser.cpp  -fPIC -DPIC -o .libs/parser.lo
{standard input}: Assembler messages:
{standard input}:3471: Error: symbol `.LEHB2673' is already defined
{standard input}:3487: Error: symbol `.LEHE2673' is already defined
{standard input}:3521: Error: symbol `.LEHB2673' is already defined
{standard input}:3540: Error: symbol `.LEHE2673' is already defined
make[2]: *** [parser.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/expr.lo expr.lo
make[2]: Leaving directory `/var/tmp/portage/sablotron-0.95-r1/work/Sablot-
0.95/src/engine'

Kernel: 2.4.19-ac1
glibc: 2.2.5-r5
gcc: 2.95.3-r7
binutils: 2.11.92.0.12.3-r2
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-05 10:43:05 UTC
I've just checked in a small fix.  Please test that and let me know if it
emerged successfully or failed again.
Comment 2 Andrei Ivanov 2002-08-05 10:48:00 UTC
Unfortunatelly I have to wait untill the mirrors get in sync with the main 
server... :(
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-08 06:42:41 UTC
well?
Comment 4 Andrei Ivanov 2002-08-08 07:05:02 UTC
Sorry for keeping you waiting... but no luck, the same error, the only 
difference seems that it tries to compile it again....


/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -
I../../autocfg     -march=i686 -O3 -pipe -fforce-addr -fomit-frame-pointer -
funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -c 
parser.cpp
rm -f .libs/parser.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -march=i686 -O3 -pipe -fforce-addr -
fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -
malign-functions=4 -c parser.cpp  -fPIC -DPIC -o .libs/parser.lo
{standard input}: Assembler messages:
{standard input}:3471: Error: symbol `.LEHB2673' is already defined
{standard input}:3487: Error: symbol `.LEHE2673' is already defined
{standard input}:3521: Error: symbol `.LEHB2673' is already defined
{standard input}:3540: Error: symbol `.LEHE2673' is already defined
make[2]: *** [parser.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/expr.lo expr.lo
make[2]: Leaving directory `/var/tmp/portage/sablotron-0.95-r1/work/Sablot-
0.95/src/engine'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sablotron-0.95-r1/work/Sablot-
0.95/src'
make: *** [all-recursive] Error 1
Making all in src
make[1]: Entering directory `/var/tmp/portage/sablotron-0.95-r1/work/Sablot-
0.95/src'
Making all in engine
make[2]: Entering directory `/var/tmp/portage/sablotron-0.95-r1/work/Sablot-
0.95/src/engine'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -
I../../autocfg     -march=i686 -O3 -pipe -fforce-addr -fomit-frame-pointer -
funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -c 
parser.cpp
rm -f .libs/parser.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -march=i686 -O3 -pipe -fforce-addr -
fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -
malign-functions=4 -c parser.cpp  -fPIC -DPIC -o .libs/parser.lo
{standard input}: Assembler messages:
{standard input}:3471: Error: symbol `.LEHB2673' is already defined
{standard input}:3487: Error: symbol `.LEHE2673' is already defined
{standard input}:3521: Error: symbol `.LEHB2673' is already defined
{standard input}:3540: Error: symbol `.LEHE2673' is already defined
make[2]: *** [parser.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/sablotron-0.95-r1/work/Sablot-
0.95/src/engine'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sablotron-0.95-r1/work/Sablot-
0.95/src'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -212, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/app-text/sablotron/sablotron-0.95-
r1.ebuild .
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-08 07:23:20 UTC
yet another fix awaits in portage. please test.
Comment 6 Andrei Ivanov 2002-08-08 07:29:29 UTC
Question: when I do a rsync, how do I know if I get the fix or not ?
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-08 07:37:45 UTC
check that the ebuild contains the line:

make || die

there should NOT be the line:

emake || make || die
Comment 8 Andrei Ivanov 2002-08-08 09:18:36 UTC
The compile error remains... :(
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-10 08:17:50 UTC
can you do me a favour and paste the entire emerge log here please?
Comment 10 Andrei Ivanov 2002-08-10 09:47:19 UTC
Hmm...
there's no need to. When I saw your request it got me thinking, and I found the 
problem: the optimisation flags of the compiler.
I used
-march=i686 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-
cse-after-loop -frerun-loop-opt -malign-functions=4
and that's why it failed.
If I use -march=i686 -O3 -pipe , it works. It's the first packet till now to 
fail me because of the optimisation flags. Sorry for all the trouble...