Re: gcc 4.1.2 not inlining?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 7 Oct 2007, Roman Zippel wrote:
On Sun, 7 Oct 2007, Geert Uytterhoeven wrote:
On 2.6.23-rc9, I get this link error:
| drivers/built-in.o: In function `libertas_parse_chan':
| /home/geert.nba/linux/linux-m68k-2.6/drivers/net/wireless/libertas/debugfs.c:209: undefined reference to `strchr'
| drivers/built-in.o: In function `libertas_parse_ssid':
| /home/geert.nba/linux/linux-m68k-2.6/drivers/net/wireless/libertas/debugfs.c:260: undefined reference to `strchr'

[...]

Anyone else seeing this?

Who seriously enables wireless on m68k? :)

The luser who does cross-compiles of a `max all' kernel...

The problem are actually these calls: strstr(foo, " "), which gcc turns 
into strchr. It would be easy to provide a noninlined version for it, but 
IMO it would be better to change these directly to strchr.

Thanks, I didn't notice the actual calls in the source were made to
different function. I'll make a fix!

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux