Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238714 - sys-apps/v86d USE=x86emu MAKEOPTS=-j(X > 1) - /usr/bin/ld: cannot find -lx86emu
Summary: sys-apps/v86d USE=x86emu MAKEOPTS=-j(X > 1) - /usr/bin/ld: cannot find -lx86emu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 06:45 UTC by Andre Ryan
Modified: 2008-09-27 20:49 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 Andre Ryan 2008-09-26 06:45:05 UTC
On AMD64, someone recently changed the build to use x86emu as a forced architecture flag requiring a rebuild however the build continually fails unless MAKEOPTS is set to -j1 in /etc/make.conf

Reproducible: Always

Steps to Reproduce:
1. Get a SMP system (Quad-core)
2. Set /etc/make.conf MAKEOPTS='-j5'
3. USE="x86emu" emerge v86d

Actual Results:  
>>> Emerging (1 of 1) sys-apps/v86d-0.1.3-r1 to /
 * v86d-0.1.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                     [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking v86d-0.1.3.tar.bz2 ;-) ...                                    [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.25-gentoo-r7/build
 * Found sources for kernel version:
 *     2.6.25-gentoo-r7
>>> Unpacking source...
>>> Unpacking v86d-0.1.3.tar.bz2 to /var/tmp/portage/sys-apps/v86d-0.1.3-r1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/v86d-0.1.3-r1/work/v86d-0.1.3 ...
config.h successfully created.
You can run `make` now.
make -w -C libs/x86emu
klcc -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -c -o v86.o v86.c
klcc -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -c -o v86_common.o v86_common.c
klcc -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -c -o v86_x86emu.o v86_x86emu.c
klcc -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -c -o v86_mem.o v86_mem.c
make[1]: Entering directory `/var/tmp/portage/sys-apps/v86d-0.1.3-r1/work/v86d-0.1.3/libs/x86emu'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
klcc -c -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o decode.o decode.c
klcc -Wl,--hash-style=gnu,-O1,--sort-common -Llibs/x86emu v86.o v86_common.o v86_x86emu.o v86_mem.o -lx86emu -o v86d
/usr/bin/ld: cannot find -lx86emu
make: *** [v86d] Error 1
make: *** Waiting for unfinished jobs....
klcc -c -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o fpu.o fpu.c
klcc -c -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o ops.o ops.c
klcc -c -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o ops2.o ops2.c
klcc -c -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o prim_ops.o prim_ops.c
klcc -c -O2 -march=athlon64 -msse3 -pipe -ftree-loop-im -funswitch-loops -fgcse-after-reload -I/usr/src/linux/include -Ilibs/x86emu -I. -I../../include -I../../include/x86emu -o sys.o sys.c
ar rv libx86emu.a decode.o fpu.o ops.o ops2.o prim_ops.o sys.o
ar: creating libx86emu.a
a - decode.o
a - fpu.o
a - ops.o
a - ops2.o
a - prim_ops.o
a - sys.o
make[1]: Leaving directory `/var/tmp/portage/sys-apps/v86d-0.1.3-r1/work/v86d-0.1.3/libs/x86emu'
 * 
 * ERROR: sys-apps/v86d-0.1.3-r1 failed.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2008-09-27 20:49:23 UTC
This should now be fixed in CVS.