Bug#136359: Not fixed

2002-03-09 Thread Adam C Powell IV
reopen 136359
thanks
Hello,
Debian Bug Tracking System wrote:
Changes: 
gcc-2.95 (2.95.4.ds9-3) unstable; urgency=medium
.
  * Updated s390 patch fixing several internal compiler errors (Gerhard Tonn).
  * New patch by Phil Blundell to fix scalapack build error on m68k.
Closes: #129573.
  * New patch backported by Phil Blundell fixing misunhandlng % with unsigned
long operands on arm. Closes: #130394.
  * Build libf2c with -mieee on alpha-linux (closes: #136359).
  * Updated gpc to next release candidate.

Unfortunately, the -mieee on alpha-linux thing didn't work.  The lapack 
build fails for the same reason.

For details, see the alpha buildd log, and search for cabs.c, you'll see 
it's sometimes built with -mieee and sometimes without.  Apparently, 
when it matters, it's built without.

Thanks for the attempted fix!
--
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe! 






Processed: Not fixed

2002-03-09 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reopen 136359
Bug#136359: g77-2.95: [ALPHA] Please rebuild libg2c.a with -mieee
Bug reopened, originator not changed.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Bug#136659: Bug#137120: I'm afraid it's 'old good gcc bug'

2002-03-09 Thread Bernd Eckenfels
On Sun, Mar 10, 2002 at 12:38:49AM +0100, Szymon Juraszczyk wrote:
>   Actually I can't see the code of bla.c mentioned in that report
> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=136659). I guess there
> should be an attachement with the code.

#include 

main() {
  unsigned char a[100];
  static struct iphdr *tmp_iphdr;
  unsigned char b[100];
  int x;

  int o = 2;

  memset(a, 'a', 100);
  memset(b, 'b', 100);
  tmp_iphdr = (void *) (a+o);
  x = ((void *)&tmp_iphdr->saddr)-(void *)tmp_iphdr;

  printf("Start of struct %p, content: a=%.14s rel-pos x=%d offset o=%d\n", a, 
a, x, o);
  
  printf("Now we are going to memcpy dst=a+x+o=%p\n", a+x+o);
  memcpy(&b,a + x + o,4);
  printf("result of a+x+o access: b=%.14s\n", b);

  printf("Now we are going to bcopy dst=&(tmp_iphdr->saddr)=%p\n", 
&(tmp_iphdr->saddr));
  bcopy((void *)&(tmp_iphdr->saddr),&b,4);
  printf("result of bcopy &(tmp_iphdr->saddr) access: b=%.14s\n", b);

  printf("Now we are going to memcpy dst=&(tmp_iphdr->saddr)=%p\n", 
&(tmp_iphdr->saddr));
  memcpy(&b,&(tmp_iphdr->saddr),4);
  printf("result of memcpy &(tmp_iphdr->saddr) access: b=%.14s\n", b);
}


this should work :)

Greetings
Bernd