Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69724

Summary: scilab/scicos libtool interface lacking '--tag' option
Product: Gentoo Linux Reporter: Ernani MElode Sousa Reis <esreis>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to ebuild
solves text relocations in grub binary

Description Ernani MElode Sousa Reis 2004-11-01 07:22:57 UTC
Compilation of a c block in scicos fails, complains of a missing shared library, and scilab window shows:
   libtool: compile: specify a tag with `--tag'
   make: *** [toto.lo] Error 1


Reproducible: Always
Steps to Reproduce:
1.call scilab, start scicos
2.create a c block, insert some code (has to compile)
3.after closing the edit window, compilation fails, ans error message appears in Scilab window

Actual Results:  
compilation failed error message window, and error message:
   libtool: compile: specify a tag with `--tag'
   make: *** [toto.lo] Error 1
in Scilab window

Expected Results:  
compiled with no error message, run afterwards
Comment 1 SpanKY gentoo-dev 2004-11-02 05:55:52 UTC

*** This bug has been marked as a duplicate of 67692 ***
Comment 2 Peter S. Mazinger 2004-12-06 15:39:05 UTC
Created attachment 45402 [details, diff]
patch to ebuild

ebuild patch to solve pie/ssp issues, use in conjunction w/ the textrel patch
corrections:
unset CFLAGS shouldn't be use
as alternative CFLAGS="" econf is used
grub-0.95 got autodetection for stack-protector, but this is disabled if CFLAGS
are allowed (as econf does overwrite it) and/or STAGE2_CFLAGS is used on emake
due to text relocations in the final grub binary nopie had to be used
not neccessary anymore
there is a faulty test for objcopy, that fails if stack-protector is default,
this
is disabled by providing a "proper" cache entry
the files are moved to /usr/lib/grub, no use to have in the /lib/grub
adds proper pax marking on post-install so that does not destroy the boot
sector
Comment 3 Peter S. Mazinger 2004-12-06 15:41:49 UTC
Created attachment 45404 [details, diff]
solves text relocations in grub binary

patch to revert to old behaviour if PIC code is built, disabling asm usage
necessary on amd64 (default PIC) and hardened (default PIE)