ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Please add verbosity to 'ld --as-neded'
Date: Wed, 07 Nov 2007 16:08:13 +0300
Message-ID: <4731B8BD.2010304@altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

Здравствуйте.

Я тут в очередной раз наткнулся на нашу фичу с --as-needed по
умолчанию.

Для одного из проектов нужно собрать groupware server Zimbra,
который таскает свои зависимости с собой и собирает их со своими
патчами. Там postfix, apache, cyrus-sasl и т.п.

Понятно, что zimbra appliance надо опакетить в rpm, написать
патчи под ALT и т.п. Но сначала на него надо посмотреть, как он
вообще работает.

Для этого я сначала собираю в /opt. Так вот, помимо прочих
проблем сборки, сильно раздражает, что ld игнорирует библиотеки
для линковки _молча_.

Пусть он их игнорирует, ладно. Но можно же об этом сказать? Пусть
ld пишет что-нибудь вроде:
Ignored -lm, see --as-needed docs.

Приходится искать, в какой библиотеке лежат undefined references,
потом искать, как называется пакет с ними в Сизифе, потом
смотреть в логах, указаны ли они при линковке, сильно тупить, а
не глюк ли это кривой софтины, несоответствие версий и т.п.

-- 
Regards, Vyt
mailto:  vyt@altlinux.org
JID:     vitaly.ostanin@gmail.com


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

             reply	other threads:[~2007-11-07 13:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07 13:08 Vitaly Ostanin [this message]
2007-11-07 13:19 ` Damir Shayhutdinov
2007-11-07 19:52 ` Michael Shigorin
2007-11-08 11:07   ` Vitaly Ostanin
2007-11-08 11:26     ` [devel] [JT] " Michael Shigorin
2007-11-08 11:30     ` [devel] " Dmitry V. Levin
2007-11-08 11:31     ` Damir Shayhutdinov
2007-11-08 15:55       ` Andrey Rahmatullin
2007-11-08 16:04         ` Damir Shayhutdinov
2007-11-09  8:06           ` [devel] [JT] " Vitaly Ostanin
2007-11-10 11:57             ` Andrey Rahmatullin
2007-11-10 18:21               ` Michael Shigorin

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=4731B8BD.2010304@altlinux.org \
    --to=vyt@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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