Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69724 - scilab/scicos libtool interface lacking '--tag' option
Summary: scilab/scicos libtool interface lacking '--tag' option
Status: RESOLVED DUPLICATE of bug 67692
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 07:22 UTC by Ernani MElode Sousa Reis
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
patch to ebuild (grub-ebuild.diff,3.29 KB, patch)
2004-12-06 15:39 UTC, Peter S. Mazinger
Details | Diff
solves text relocations in grub binary (grub-0.94-textrel.patch,999 bytes, patch)
2004-12-06 15:41 UTC, Peter S. Mazinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)