From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@altlinux.ru> Subject: [devel] Re: Fwd: Re: Сборка пакета Date: Sun, 18 May 2003 20:49:48 +0400 Message-ID: <20030518164948.GC27134@basalt.office.altlinux.org> (raw) In-Reply-To: <20030516124547.GC27345@solemn.turbinal.org> [-- Attachment #1: Type: text/plain, Size: 2588 bytes --] On Fri, May 16, 2003 at 04:45:47PM +0400, Alexey Tourbin wrote: > Первые грабли со strip'ом. Это нормально, будет ещё как минимум kernel + XFree. Рекомендую %add_strip_skiplist /usr/lib/cinelerra/*.plugin Думаю, что на такую жертву мы можем пойти? > ----- Forwarded message from "Alexander S. Belov" <asbel@> ----- > > Date: 16 May 2003 19:10:11 +0700 > From: "Alexander S. Belov" <asbel@> > Subject: Re: Сборка пакета > To: Alexey Tourbin <at@> > Organization: Siberian Interbank Currency Exchange > X-Mailer: Ximian Evolution 1.2.3- (1.2.3-alt1) > > В Птн, 16.05.2003, в 18:46, Alexey Tourbin пишет: > > On Fri, May 16, 2003 at 12:46:00PM +0700, Alexander S. Belov wrote: > > > Проблема простая: > > > В нем есть plugins, расположенные в каталоге > > > /usr/lib/cinelerra/*.plugin. с правами 644. RPM после сборки делает на > > > них strip (раньше - не делал этого) и соотв. они не грузятся и программа > > > не запускается. Как сделать так, чтобы он этого не делал? > > > > А какого типа эти файлы? > > $ file /usr/lib/cinelerra/*.plugin* > > > > $ file /usr/lib/cinelerra/*.plugin > /usr/lib/cinelerra/aging.plugin: ELF 32-bit LSB shared object, > Intel 80386, version 1 (SYSV), stripped > /usr/lib/cinelerra/bandslide.plugin: ELF 32-bit LSB shared object, > Intel 80386, version 1 (SYSV), stripped > .... > > > > Разделяемые библиотеки, загружаемые через dlopen(), должны стрипаться > > через --strip-unneeded и при этом хорошо работать. Наличие в пакетах > > нестрипнутых бинарей без серьезных причин может считаться ошибкой. > > > > В самой последней версии rpm (alt19) были как раз изменения насчет > > strip'а. См. /usr/lib/rpm/*strip*. Я ещё не смотрел. > > > Я сделал так: > %define _strip_skiplist %_libdir/cinelerra/*.plugin > > И отправил пакет в сизиф. Лучше пока ничего не нашел (плохо искал?). > > > > %build > > > %ifarch i686 > > > export CFLAGS='-O3 -march=i686 -fmessage-length=0 -funroll-all-loops -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2' > > > %else > > > export CFLAGS='-O3 -fmessage-length=0 -funroll-all-loops -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2' > > > %endif > > > > Не переборщите с оптимизацией, если только от неё нет существенного > > выигрыша (обычно нет). > > Скорее всего действительно выигрыша нет, но так советуют его собирать > разработчики. Я подумал, что они лучше знают. > > > Name: cinelerra > Version: 1.1.6 > Release: alt1 > %define _strip_skiplist %_libdir/cinelerra/*.plugin [...] > ----- End forwarded message ----- -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
parent reply other threads:[~2003-05-18 16:49 UTC|newest] Thread overview: expand[flat|nested] mbox.gz Atom feed [parent not found: <20030516124547.GC27345@solemn.turbinal.org>]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030518164948.GC27134@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git