[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2013-03-23 Thread Bug Watch Updater
** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/66702

Title:
  GCC emits 3DNow!-specific instruction for __builtin_prefetch

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/66702/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-05-22 Thread Michael Vogt
** Tags added: verification-done

** Tags removed: verification-needed

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://bugs.launchpad.net/bugs/66702
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-04-04 Thread Martin Pitt
Accepted into edgy-updates, thank you!

** Changed in: mysql-dfsg-5.0 (Ubuntu Edgy)
   Status: Fix Committed => Fix Released

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://bugs.launchpad.net/bugs/66702
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-04-02 Thread Matthias Klose
uploaded; keeping this report still open, until #100083 is commented.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://bugs.launchpad.net/bugs/66702
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-04-02 Thread Martin Pitt
Matthias, patch looks fine. Please go ahead and upload.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://bugs.launchpad.net/bugs/66702
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-03-31 Thread Matthias Klose
ubuntu-sru, please lets update that for edgy-updates


** Changed in: mysql-dfsg-5.0 (Ubuntu Edgy)
   Importance: Undecided => High

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-03-19 Thread alxjvr
yes! works for me now too! thanks a lot

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-19 Thread Greg Gilbert
I installed the package from edgy-proposed and it has addressed the
original problem of Mysql not starting. So far mysqld is running
smoothly. Thank you all very much for getting this fixed.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-19 Thread Matthias Klose
The package is now available in edgy-proposed. QA-Team notified via
sflaw; I don't own EMT64 hardware, so I cannot test it myself.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-16 Thread Martin Pitt
Closing gcc-4.1/edgy task as per Matthias' comment.

** Changed in: gcc-4.1 (Ubuntu Edgy)
   Status: Confirmed => Rejected

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-16 Thread Martin Pitt
Accepted mysql edgy-proposed upload, please go ahead with QA testing.

** Tags added: verification-needed

** Changed in: mysql-dfsg-5.0 (Ubuntu Edgy)
   Status: In Progress => Fix Committed

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-16 Thread Matthias Klose
Martin, in Oslo the SRU team decided not to upload gcc-4.1 to edgy.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-16 Thread Matthias Klose
mysql-dfsg-5.0 fixed in feisty.


** Changed in: mysql-dfsg-5.0 (Ubuntu)
 Assignee: (unassigned) => Matthias Klose
   Status: Unconfirmed => Fix Released

** Changed in: gcc-4.1 (Ubuntu Edgy)
   Status: Unconfirmed => Confirmed

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-16 Thread Martin Pitt
Matthias, this looks fine. Please go ahead and upload to edgy-proposed.

Does this affect mysql in Feisty? Please update the feisty task status
accordingly.

Do we need to fix gcc-4.1 in edgy? Please update the task status.

Thanks!

** Changed in: mysql-dfsg-5.0 (Ubuntu Edgy)
   Status: Unconfirmed => In Progress

** Changed in: mysql-dfsg-5.0 (Ubuntu Edgy)
 Assignee: (unassigned) => Matthias Klose

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-15 Thread Matthias Klose
** Description changed:

  Binary package hint: mysql-server-5.0
  
- I upgraded from Dapper Drake ( amd64) to the Edgy Eft for testing on an
- SMP Intel Xeon ( em64t ). During the course of the upgrade the mysql
- package could not successfully configure itself. Whenever the
- installation scripts tried launching mysqld, it would die immedietly. If
- I removed the contents of /var/lib/mysql, the daemon would come up and
- initiliaze itself, but it would always fail to start up if
- /var/lib/mysql was populated.
+ [update for SRU / mysql part:
+  The mysql server in the package fails to run on EMT64 hardware due to a 
misconfiguration in GCC generating a amd64 specific instruction. Work around 
this in the mysql package by explicitely building for generic x86_64.
+ debdiff of the proposed fix is attached to this report.
+ ]
+ 
+ 
+ I upgraded from Dapper Drake ( amd64) to the Edgy Eft for testing on an SMP 
Intel Xeon ( em64t ). During the course of the upgrade the mysql package could 
not successfully configure itself. Whenever the installation scripts tried 
launching mysqld, it would die immedietly. If I removed the contents of 
/var/lib/mysql, the daemon would come up and initiliaze itself, but it would 
always fail to start up if /var/lib/mysql was populated.
  
  The following error was printed to the system logs:
  
  Oct 17 14:31:27 tinman mysqld_safe[30035]: started
  Oct 17 14:31:27 tinman mysqld[30038]: mysqld got signal 4;
  Oct 17 14:31:27 tinman mysqld[30038]: This could be because you hit a bug. It 
is also possible that this binary
  Oct 17 14:31:27 tinman mysqld[30038]: or one of the libraries it was linked 
against is corrupt, improperly built,
  Oct 17 14:31:27 tinman mysqld[30038]: or misconfigured. This error can also 
be caused by malfunctioning hardware.
  Oct 17 14:31:27 tinman mysqld[30038]: We will try our best to scrape up some 
info that will hopefully help diagnose
  Oct 17 14:31:27 tinman mysqld[30038]: the problem, but since we have already 
crashed, something is definitely wrong
  Oct 17 14:31:27 tinman mysqld[30038]: and this may fail.
  Oct 17 14:31:27 tinman mysqld[30038]:
  Oct 17 14:31:27 tinman mysqld[30038]: key_buffer_size=0
  Oct 17 14:31:27 tinman mysqld[30038]: read_buffer_size=131072
  Oct 17 14:31:27 tinman mysqld[30038]: max_used_connections=0
  Oct 17 14:31:27 tinman mysqld[30038]: max_connections=100
  Oct 17 14:31:27 tinman mysqld[30038]: threads_connected=0
  Oct 17 14:31:27 tinman mysqld[30038]: It is possible that mysqld could use up 
to
  Oct 17 14:31:27 tinman mysqld[30038]: key_buffer_size + (read_buffer_size + 
sort_buffer_size)*max_connections = 217599 K
  Oct 17 14:31:27 tinman mysqld[30038]: bytes of memory
  Oct 17 14:31:27 tinman mysqld[30038]: Hope that's ok; if not, decrease some 
variables in the equation.
  Oct 17 14:31:27 tinman mysqld[30038]:
  Oct 17 14:31:27 tinman mysqld_safe[30045]: ended
  Oct 17 14:31:41 tinman /etc/init.d/mysql[30317]: 0 processes alive and 
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
  Oct 17 14:31:41 tinman /etc/init.d/mysql[30317]: ^G/usr/bin/mysqladmin: 
connect to server at 'localhost' failed
  Oct 17 14:31:41 tinman /etc/init.d/mysql[30317]: error: 'Can't connect to 
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
  Oct 17 14:31:41 tinman /etc/init.d/mysql[30317]: Check that mysqld is running 
and that the socket: '/var/run/mysqld/mysqld.sock' exists!
  Oct 17 14:31:41 tinman /etc/init.d/mysql[30317]:
  Oct 17 14:31:41 tinman /etc/init.d/mysql[30322]: 
/etc/mysql/debian-log-rotate.conf is obsolete, see 
/usr/share/doc/mysql-server-5.0/NEWS.Debian.gz
  
  I've since downgraded the mysql-server-5.0 package to the
  -5.0_5.0.22-0ubuntu6.06.2 and it started up properly.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-02-15 Thread Matthias Klose
Proposing a SRU for edgy (mysql server doesn't run on EMT64 hardware),
fixed on feisty with a mysql rebuild with a fixed compiler. Choosing for
edgy a minimal fix to just rebuild the mysql package.

mysql-dfsg-5.0 (5.0.24a-9ubuntu1) edgy-proposed; urgency=low

  * On amd64, build using -march=x86-64, avoiding 3Dnow! instructions.
Ubuntu #66702.

 -- Matthias Klose <[EMAIL PROTECTED]>  Thu, 15 Feb 2007 17:25:22 +

packages for amd64 can be found at

  http://people.ubuntu.com/~doko/mysql-edgy/

validated that the amd64 specific instruction is not generated.


** Attachment added: "debdiff"
   http://librarian.launchpad.net/6441948/mysql-dfsg-5.0.debdiff

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-01-14 Thread Dean Sas
Greg: The backport process is here:
https://wiki.ubuntu.com/StableReleaseUpdates

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-01-14 Thread LGB [Gábor Lénárt]
I've also got problem with MySQL on EMT64, I've reported it as #76858
Also the mentioned test program generates on SIGILL on that machine, but not on 
AMD64. I think it's a fatal bug, since it renders "edgy server" unusable on 
EMT64 (well at least if you want to use MySQL). Also, other packages may be 
affected as well compiled with this gcc in the distributin, I think ...

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2007-01-12 Thread Greg Gilbert
Is there a special process we need to go through to request a backport
for this? MySQL as packaged in the repository is still nonfunctional on
Intel's xeon cpus.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2006-12-13 Thread Florian Zschocke
4.1.1-21ubuntu1 is only available in feisty so far. This is a
fundamental flaw, so when will this be fixed in edgy?

What other packages were compiled with the buggy compiler? How can I be
sure that other packages don't start crashing on me because of that?

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2006-12-13 Thread Matthias Klose
fixed in 4.1.1-21ubuntu1

** Changed in: gcc-4.1 (Ubuntu)
   Status: Confirmed => Fix Released

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2006-12-07 Thread Rob Moore
Can anyone provide some details on the status of this bug? Is it just a
matter of rebuilding the package with a different switch (which seems
like a simple fix) or is it really dependent on an upstream package
change? Thanks!

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2006-11-27 Thread Greg Gilbert
Thanks for the test case Lucas. Although it's probably obvious, I just
verified that your test application generates an illegal instruction
error on the original machine I reported the bug for.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 66702] Re: GCC emits 3DNow!-specific instruction for __builtin_prefetch

2006-11-27 Thread Lucas Nussbaum
Hi,

Using this simple test program:
int
main (int argc, char *argv[])
{
  int i;
  int test[8];

  __builtin_prefetch (test, 1);
  for (i = 0; i < 8; i++)
{
  test[i] = i;
}
  return 0;
}

And compiling using gcc -S test.c, the generated .s file includes the following 
assembly code:
.LCFI1:
movl%edi, -52(%rbp)
movq%rsi, -64(%rbp)
leaq-48(%rbp), %rax
prefetchw   (%rax)
movl$0, -4(%rbp)
jmp .L2
.L3:

prefetchw is a 3Dnow! instruction, not available on EMT64.

-- 
GCC emits 3DNow!-specific instruction for __builtin_prefetch
https://launchpad.net/bugs/66702

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs