Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77865 - alsa-driver-1.0.8_rc2 won't compile with gcc 3.4.3 pci/echoaudio/echoaudio.h:424: sorry, unimplemented:
Summary: alsa-driver-1.0.8_rc2 won't compile with gcc 3.4.3 pci/echoaudio/echoaudio.h:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 10:29 UTC by Ruben Garcia
Modified: 2005-05-13 21:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
replace inlined free_firmware by a macro (alsa-driver-1.0.8rc2_inline-gcc3.4.patch,1.27 KB, patch)
2005-01-13 12:37 UTC, Emil Beinroth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ruben Garcia 2005-01-13 10:29:20 UTC
When emerging alsa-driver-1.0.8_rc2
using gcc 3.4.3 as compiler,
I got the following error:
CC [M]  /mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/darla20.o
In file included from /mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/darla20.c:109:
/mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/echoaudio_dsp.c: In function `load_firmware':
/mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/echoaudio.h:424: sorry, unimplemented: inlining failed in call to 'free_firmware': function body not available
/mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/echoaudio_dsp.c:544: sorry, unimplemented: called from here

Previous versions of alsa driver don't work either.
Tried 1.0.8 rc1 and 1.0.7, neither will compile. The errors are varied.

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS=~x86 emerge  alsa-driver
2.
3.

Actual Results:  
<snip>
CC [M] 
/mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/darla20.o
In file included from
/mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/darla20.c:109:
/mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/echoaudio_dsp.c:
In function `load_firmware':
/mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/echoaudio.h:424:
sorry, unimplemented: inlining failed in call to 'free_firmware': function body
not available
/mnt/backup/vartmp/portage/alsa-driver-1.0.8_rc2/work/alsa-driver-1.0.8rc2/pci/echoaudio/echoaudio_dsp.c:544:
sorry, unimplemented: called from here
<snip>

Expected Results:  
Compile cleanly

kernel 2.6.10
Comment 1 Emil Beinroth 2005-01-13 12:37:17 UTC
Created attachment 48421 [details, diff]
replace inlined free_firmware by a macro

The inlined function free_firmware is using a function from the kernel-source
..
looks like this isn't possible with the new gcc.
Since free_firmware is just 2 lines long it should be easily replaced by a
macro.
Comment 2 Eric Shattow 2005-03-06 11:15:14 UTC
IIRC 'static inline' functions are invalid (and always have been?)
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-05-13 21:22:23 UTC
Newest alsa-driver in ~x86, 1.0.9_rc3, works with GCC 3.4.