ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] E: incoming i586 reject: perl-AptPkg-0.1.20-alt1
Date: Sun, 18 Jun 2006 01:40:10 +0400
Message-ID: <20060617214010.GN25291@localhost.localdomain> (raw)
In-Reply-To: <20060617205725.GL25291@localhost.localdomain>

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

On Sun, Jun 18, 2006 at 12:57:25AM +0400, Alexey Tourbin wrote:
> On Sun, Jun 18, 2006 at 12:43:12AM +0400, Upravdom Team Robot wrote:
> Похоже, что все перловые arch-пакеты теперь не собираются.

Нет, только С+плюсные.

> Кажется это из-за gcc4.1-4.1.1-alt2 (с alt1 у меня локально собралось).
> 
> c++ -c  -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
>  -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -pipe -Wall -Os -march=i586 -mtune=pentium4 -D_GNU_SOURCE -momit-leaf-frame-pointer   -DVERSION=\
> "1.11\" -DXS_VERSION=\"1.11\" -fPIC -DPIC "-I/usr/lib/perl5/i386-linux/CORE"   AptPkg.c
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:38: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:40: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:42: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:43: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:45: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:46: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:47: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:49: error: invalid use of 'register' in linkage specification

# 34 "/usr/lib/perl5/i386-linux/CORE/thrdvar.h"
extern "C" SV *** Perl_Tstack_sp_ptr(register PerlInterpreter *my_perl __attribute__((unused)));

С+плюс теперь такие декларации не хочет понимать.

$ gcc -I/usr/lib/perl5/i386-linux/CORE -include EXTERN.h -include perl.h -include XSUB.h ~/ldtest.c
$ c++ -I/usr/lib/perl5/i386-linux/CORE -include EXTERN.h -include perl.h -include XSUB.h ~/ldtest.c  
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:38: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:40: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:42: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:43: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:45: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:46: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:47: error: invalid use of 'register' in linkage specification
$

Это точно в C+плюсе такие объявление запрещены?
Но ведь с extern "C" объявлено!

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

      reply	other threads:[~2006-06-17 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-17 20:57 ` Alexey Tourbin
2006-06-17 21:40   ` Alexey Tourbin [this message]

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=20060617214010.GN25291@localhost.localdomain \
    --to=at@altlinux.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