Re: gcc 4.1.2 not inlining?

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

 



Hi,

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 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.

bye, Roman
-
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