ALT Linux architecture porting
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ALT Linux arch porting <devel-ports@lists.altlinux.org>,
	"Dmitry V. Levin" <ldv@altlinux.org>
Subject: [devel-ports] ARM toolchain
Date: Mon, 28 Sep 2009 11:27:36 +0300
Message-ID: <cc557aab0909280127l43b623fbm194b3a77183766db@mail.gmail.com> (raw)

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

На выходных я занимался toochain'ом для ARM.

Правки для binutils и glibc у меня в git. Можно забирать.

С gcc всё сложнее. Похоже c++-frontend поломан для ARM.

Простой testcase:

$ cat 1.cc
class a { ~a(); };
a::~a () {}

Если собрать его в shared library (-fpic -shared), то с gcc-4.4,
получается TEXTREL. С gcc-4.3 всё впорядке.

Именно это служит причиной появления TEXTREL в libstdc++.

Результат работы для gcc -S -fpic для обоих версий компилятора
приаттачен.

Буду копать дальше. Может у кого-нибудь есть идеи в какую
сторону? ;)

[-- Attachment #2: gcc-4.3.s --]
[-- Type: application/octet-stream, Size: 1372 bytes --]

[-- Attachment #3: gcc-4.4.s --]
[-- Type: application/octet-stream, Size: 1544 bytes --]

             reply	other threads:[~2009-09-28  8:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28  8:27 Kirill A. Shutemov [this message]
2009-09-28  8:43 ` Kirill A. Shutemov
2009-09-28 14:28   ` Kirill A. Shutemov
2009-09-28 14:56     ` Anton V. Boyarshinov

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=cc557aab0909280127l43b623fbm194b3a77183766db@mail.gmail.com \
    --to=kirill@shutemov.name \
    --cc=devel-ports@lists.altlinux.org \
    --cc=ldv@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 architecture porting

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/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-ports devel-ports/ http://lore.altlinux.org/devel-ports \
		devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com
	public-inbox-index devel-ports

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-ports


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git