ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <alexei@taf.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Openjdk buid failed - undefined reference to `operator new(unsigned long)'
Date: Thu, 18 Jan 2018 10:34:30 +0800 (IRKT)
Message-ID: <239118565.118.1516242869942.JavaMail.taf@taf.office.telnet> (raw)
In-Reply-To: <1455265779.203503.1516198476373.JavaMail.zimbra@remotesystems.ru>

Добрый день!

----- Исходное сообщение -----
> От: "Evgeniy Korneechev" <ekorneechev@altlinux.org>
> Кому: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
> Отправлено: Среда, 17 Январь 2018 г 22:14:36
> Тема: Re: [devel] Openjdk buid failed - undefined reference to `operator new(unsigned long)'
> 
> Тока нормальным это сложно назвать)
> Хотя другие ~100 пакеты zimbra-* собрались успешно.
> 
> И кстати не помогло, все равно "at /usr/bin/gcc_wrapper"
> 
> ----- Исходное сообщение -----
> > От: "Dmitry V. Levin" <ldv@altlinux.org>
> > Кому: "ALT Linux Team development discussions"
> > <devel@lists.altlinux.org>
> > Отправленные: Среда, 17 Январь 2018 г 16:51:26
> > Тема: Re: [devel] Openjdk buid failed - undefined reference to
> > `operator new(unsigned long)'
> 
> > On Wed, Jan 17, 2018 at 04:34:04PM +0300, Evgeniy Korneechev wrote:
> >> Нашел отличие в сборке оригинальной zimbra-openjdk от openjdk в
> >> репах:
> >> 
> >> В логах сборки:
> >> Tools summary:
> >> ...
> >> * C Compiler:     x86_64-alt-linux-gcc (GCC) 6.3.1 20170118
> >> (ALT-alt2) version
> >> 6.3.1 (at /usr/bin/gcc_wrapper)
> >> * C++ Compiler:   x86_64-alt-linux-gcc (GCC) 6.3.1 20170118
> >> (ALT-alt2) version
> >> 6.3.1 (at /usr/bin/gcc_wrapper)
> >> 
> >> А должно быть (как при сборке java-1.8.0-openjdk):
> >> ...
> >> * C Compiler:     x86_64-alt-linux-gcc (GCC) 6.3.1 20170118
> >> (ALT-alt2) version
> >> 6.3.1-alt2) (at /usr/bin/gcc)
> >> * C++ Compiler:   x86_64-alt-linux-g++ (GCC) 6.3.1 20170118
> >> (ALT-alt2) version
> >> 6.3.1-alt2) (at /usr/bin/g++)
> >> 
> >> Вопрос, как хотя бы этого добиться...
> > 
> > нормальным пакетам обычно бывает достаточно
> > export CC=%__cc CXX=%__cxx

Покопался в результатах своих упражнений, думаю ключевыми местами выступают вот эти строки
в спеке:

...
export NUM_PROC=${NUM_PROC:-1}
CXX=x86_64-alt-linux-g++
export CXX
CC=x86_64-alt-linux-gcc
export CC
EXTRA_CFLAGS="%ourcppflags"
EXTRA_CPP_FLAGS="%ourcppflags -fno-tree-vrp"
export EXTRA_CFLAGS
...


  reply	other threads:[~2018-01-18  2:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-28  7:16 Evgeniy Korneechev
2017-09-28 12:39 ` Alexey V. Vissarionov
2017-09-28 17:43   ` Evgeniy Korneechev
2017-09-28 12:54 ` Ivan Zakharyaschev
2017-09-28 18:03   ` Evgeniy Korneechev
2017-09-29  0:58     ` Ivan Zakharyaschev
2017-09-29  7:10       ` Evgeniy Korneechev
2017-10-04  5:41       ` Evgeniy Korneechev
2017-10-04 19:23         ` Ivan Zakharyaschev
2017-10-04 19:45           ` Igor Vlasenko
2017-10-05  8:50             ` Evgeniy Korneechev
2018-01-17 13:34 ` Evgeniy Korneechev
2018-01-17 13:51   ` Dmitry V. Levin
2018-01-17 14:14     ` Evgeniy Korneechev
2018-01-18  2:34       ` Alexei Takaseev [this message]
2018-01-18 16:53         ` Michael Shigorin
2018-01-19  2:48           ` Alexei Takaseev
2018-01-18  2:28   ` Alexei Takaseev

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=239118565.118.1516242869942.JavaMail.taf@taf.office.telnet \
    --to=alexei@taf.ru \
    --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