FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 05-20-2010, 12:23 AM
"Moffett, Kyle D"
 
Default Bug#579780: closed by Matthias Klose (Bug#579780: fixed in gcc-4.4 4.4.4-2)

reopen 579780
thanks

On 2010/05/18 12:45, "Debian Bug Tracking System" <owner@bugs.debian.org>
wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the gcc-4.4 package:
>
> #579780: powerpcspe: Preliminary architecture port and minor bugfix
>
> It has been closed by Matthias Klose <doko@debian.org>.

Unfortunately this version of GCC now does not build for powerpcspe, even
though the patched 4.4.2-9 did. It also looks like Sebastian's boehm-gc
patch may have gotten lost, the "don't use lwsync" one, although I'm not
very clear whether or not that was needed for gcc newer than 4.3.

Specifically when I try to build I get multilib errors despite the fact that
it should be disabled. Looking at it now, I think it was this change from
debian/rules2 that caused the problem:

-ifneq (,$(findstring powerpc-linux,$(DEB_TARGET_GNU_TYPE)))
+ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu))

Specifically, that block was previously triggered for both powerpc-linux and
powerpc-linux-gnuspe to explicitly turn off multilib support. Now with the
change it only triggers for powerpc-linux-gnu, breaking powerpcspe.

The fix is to either revert that powerpc-linux change or to add an extra
option "--disable-multilib" to the new powerpcspe block.

Cheers,
Kyle Moffett

--
Kyle Moffett
eXMeritus Software
Integrated Intelligence
The Boeing Company

(703) 764-0925
Kyle.D.Moffett@boeing.com




--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: C819F946.87E8%Kyle.D.Moffett@boeing.com">http://lists.debian.org/C819F946.87E8%Kyle.D.Moffett@boeing.com
 
Old 05-29-2010, 05:52 PM
Sebastian Andrzej Siewior
 
Default Bug#579780: closed by Matthias Klose (Bug#579780: fixed in gcc-4.4 4.4.4-2)

reopen 579780
thanks

We are getting there. The disable-multilib block

|ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu powerpc-linux-gnuspe))
| ifeq ($(biarch64),yes)
| CONFARGS += --disable-softfloat --enable-secureplt
| --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
| else
| CONFARGS += --disable-multilib
| endif
|endif

is twice in the rules2 file. Unfortunately only one of them has
powerpc-linux-gnuspe. So we fail again.
The patches file has a .NOTPARALLEL section twice while rules2 has none.
Is this on purpose?

Sebastian



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100529175247.GA26019@Chamillionaire.breakpoint.c c">http://lists.debian.org/20100529175247.GA26019@Chamillionaire.breakpoint.c c
 
Old 05-30-2010, 10:49 AM
Matthias Klose
 
Default Bug#579780: closed by Matthias Klose (Bug#579780: fixed in gcc-4.4 4.4.4-2)

On 29.05.2010 19:52, Sebastian Andrzej Siewior wrote:

reopen 579780
thanks

We are getting there. The disable-multilib block

|ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu powerpc-linux-gnuspe))
| ifeq ($(biarch64),yes)
| CONFARGS += --disable-softfloat --enable-secureplt
| --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
| else
| CONFARGS += --disable-multilib
| endif
|endif

is twice in the rules2 file.


where?

should powerpc-linux-gnuspe be configured with --enable-secureplt as well?



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4C0242BA.3000503@debian.org">http://lists.debian.org/4C0242BA.3000503@debian.org
 
Old 05-30-2010, 11:25 AM
Sebastian Andrzej Siewior
 
Default Bug#579780: closed by Matthias Klose (Bug#579780: fixed in gcc-4.4 4.4.4-2)

* Thus spake Matthias Klose (doko@debian.org):
> On 29.05.2010 19:52, Sebastian Andrzej Siewior wrote:
> >reopen 579780
> >thanks
> >
> >We are getting there. The disable-multilib block
> >
> >|ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu powerpc-linux-gnuspe))
> >| ifeq ($(biarch64),yes)
> >| CONFARGS += --disable-softfloat --enable-secureplt
> >| --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
> >| else
> >| CONFARGS += --disable-multilib
> >| endif
> >|endif
> >
> >is twice in the rules2 file.
>
> where?
>
> should powerpc-linux-gnuspe be configured with --enable-secureplt as well?

No. We need that --disable-multilib switch.

debian/rules2, lines 254-261:

|ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu powerpc-linux-gnuspe))
| ifeq ($(biarch64),yes)
| CONFARGS += --disable-softfloat --enable-secureplt
| --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
| else
| CONFARGS += --disable-multilib
| endif
|endif

Here we get the --disable-multilib. Perfect. A few lines further down, 2333-2340:

|ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu))
| ifeq ($(biarch64),yes)
| CONFARGS += --disable-softfloat --enable-secureplt
| --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
| else
| CONFARGS += --disable-multilib
| endif
|endif

The same block again without powerpc-linux-gnuspe this time. So we don't get
--disable-multilib this time. Somehow the latter block is used while passing
CONFARGS to configure.

If seen this kind duplication also in rules.patch. If you search for pr42748
you will find it twice there. Line 88 and 464. I'm not sure if this happend
intentionally or due to a missmerge.

Sebastian



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100530112534.GA2998@breakpoint.cc">http://lists.debian.org/20100530112534.GA2998@breakpoint.cc
 
Old 05-30-2010, 12:03 PM
Matthias Klose
 
Default Bug#579780: closed by Matthias Klose (Bug#579780: fixed in gcc-4.4 4.4.4-2)

On 30.05.2010 13:25, Sebastian Andrzej Siewior wrote:

* Thus spake Matthias Klose (doko@debian.org):

On 29.05.2010 19:52, Sebastian Andrzej Siewior wrote:

reopen 579780
thanks

We are getting there. The disable-multilib block

|ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu powerpc-linux-gnuspe))
| ifeq ($(biarch64),yes)
| CONFARGS += --disable-softfloat --enable-secureplt
| --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
| else
| CONFARGS += --disable-multilib
| endif
|endif

is twice in the rules2 file.


where?

should powerpc-linux-gnuspe be configured with --enable-secureplt as well?


No. We need that --disable-multilib switch.


why not configure with --enable-secureplt, as the powerpc port does?


debian/rules2, lines 254-261:

|ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu powerpc-linux-gnuspe))
| ifeq ($(biarch64),yes)
| CONFARGS += --disable-softfloat --enable-secureplt
| --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
| else
| CONFARGS += --disable-multilib
| endif
|endif

Here we get the --disable-multilib. Perfect. A few lines further down, 2333-2340:


sorry, I don't get it. the file only has 2082 lines. please recheck using the
svn repository.



|ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), powerpc-linux-gnu))
| ifeq ($(biarch64),yes)
| CONFARGS += --disable-softfloat --enable-secureplt
| --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
| else
| CONFARGS += --disable-multilib
| endif
|endif

The same block again without powerpc-linux-gnuspe this time. So we don't get
--disable-multilib this time. Somehow the latter block is used while passing
CONFARGS to configure.

If seen this kind duplication also in rules.patch. If you search for pr42748
you will find it twice there. Line 88 and 464. I'm not sure if this happend
intentionally or due to a missmerge.


again, I don't see this. are you working with a local/out-of-date copy?




--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4C02542D.6010908@debian.org">http://lists.debian.org/4C02542D.6010908@debian.org
 
Old 05-30-2010, 12:23 PM
Sebastian Andrzej Siewior
 
Default Bug#579780: closed by Matthias Klose (Bug#579780: fixed in gcc-4.4 4.4.4-2)

* Matthias Klose | 2010-05-30 14:03:57 [+0200]:

>>>should powerpc-linux-gnuspe be configured with --enable-secureplt as well?
>>
>>No. We need that --disable-multilib switch.
>
>why not configure with --enable-secureplt, as the powerpc port does?
There is no reason. I just looked up the docs and it looks nice. So I
think it is good to have this enabled.

>sorry, I don't get it. the file only has 2082 lines. please recheck
>using the svn repository.

My appologies. I rechecked and must say that there is no problem.

Sebastian



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100530122342.GA31057@Chamillionaire.breakpoint.c c">http://lists.debian.org/20100530122342.GA31057@Chamillionaire.breakpoint.c c
 

Thread Tools




All times are GMT. The time now is 07:07 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org