Bug#320726: gcc-4.0: mmx, sse asm need -mmmx, -msse

2005-07-31 Thread matthieu castet
Package: gcc-4.0
Version: 4.0.1-3
Severity: normal

Hi,

gcc-4.0 need -mmmx, -msee, ... flags in order to compil optimized
assembler. But this break runtime decision of the optimisation according
to the cpu capcibility : you can't mix in the same file generic code, and
runtime selected code.

Attached an example where -mmmx is needed.

Matthieu


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages gcc-4.0 depends on:
ii  binutils2.16.1-2 The GNU assembler, linker and bina
ii  cpp-4.0 4.0.1-3  The GNU C preprocessor
ii  gcc-4.0-base4.0.1-3  The GNU Compiler Collection (base 
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1 1:4.0.1-3GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev   2.3.2.ds1-22 GNU C Library: Development Librari
pn  libmudflap0-dev(no description available)

-- no debconf information
extern int mmx;
int main() {
	if (mmx) {
__asm__ __volatile__ (
	"pxor %%mm4, %%mm4\n\t"
	: : : "%mm4"
		);
	}
	else
		;/* generic code */
}


Processed: Re: g++ 4.0 doesn't compile ucontext.h on ia64

2005-07-31 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 320240 glibc
Bug#320240: g++ 4.0 doesn't compile ucontext.h on ia64
Bug reassigned from package `gcc-4.0' to `glibc'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: gcc: submitted Debian report #320398 to gcc-gnats as PR 23170

2005-07-31 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # submitted Debian report #320398 to gcc-gnats as PR 23170
> # http://gcc.gnu.org/PR23170
> forwarded 320398 http://gcc.gnu.org/PR23170
Bug#320398: libmudflap0: should not use functions marked obsolescent by 
POSIX/SUS
Noted your statement that Bug has been forwarded to http://gcc.gnu.org/PR23170.

> retitle 320398 [PR 23170] libmudflap should not use functions marked 
> obsolescent by POSIX/SUS
Bug#320398: libmudflap0: should not use functions marked obsolescent by 
POSIX/SUS
Changed Bug title.

> tags 320398 + upstream
Bug#320398: [PR 23170] libmudflap should not use functions marked obsolescent 
by POSIX/SUS
There were no tags set.
Tags added: upstream

> thanks
Stopping processing here.

Please contact me if you need assistance.

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]