Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Only garbage was found in the patch input, con graysky2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
macs
n00b
n00b


Joined: 26 May 2020
Posts: 3

PostPosted: Tue May 26, 2020 11:06 am    Post subject: Only garbage was found in the patch input, con graysky2 Reply with quote

Hola! Buenas!

De entrada, gracias a todos!

El tema es que estoy intentando instalar Gentoo eligiendo el kernel vanilla-sources, al cual le querría aplicar los patchs de graysky2 (https://github.com/graysky2/kernel_gcc_patch) para poder elegir la microarquitectura a la hora de compilar el kernel.

La versión de gcc instalada es la 9.3 y la del kernel es la 5.6.14, por lo que he elegido el patch 'enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v5.5+.patch'.

cuando hago
patch -p1 < <el_citado_path>
me sale lo siguiente: patch: **** Only garbage was found in the patch input.

¿Qué es lo que estoy haciendo incorrectamente?
¿Es un problema del patch en graysky2?

Gracias por adelantado
Saludos :wink:
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Tue May 26, 2020 1:47 pm    Post subject: Reply with quote

Posiblemente te has descargado el código (HTML) de la página web del parche en lugar del propio parche. Prueba descargar el parche desde este enlace:
https://github.com/graysky2/kernel_gcc_patch/raw/master/enable_additional_cpu_optimizations_for_gcc_v9.1%2B_kernel_v5.5%2B.patch
Back to top
View user's profile Send private message
macs
n00b
n00b


Joined: 26 May 2020
Posts: 3

PostPosted: Tue May 26, 2020 1:48 pm    Post subject: Reply with quote

Al final lo que he hecho es emplear
Code:
USE="experimental"
y luego instalar el
Code:
sys-kernel/gentoo-sources
, en vez del
Code:
sys-kernel/vanilla-sources
De esa forma, al entrar en el menú de configuración del kernel mediante
Code:
make menuconfig
ya sí me salen las distintas microarquitecturas.

Gracias y disculpas! :wink:
Back to top
View user's profile Send private message
macs
n00b
n00b


Joined: 26 May 2020
Posts: 3

PostPosted: Tue May 26, 2020 1:50 pm    Post subject: Reply with quote

El fichero descargado siempre a sido un .patch y no un HTML.
Back to top
View user's profile Send private message
FeDoR88
n00b
n00b


Joined: 17 Aug 2020
Posts: 1

PostPosted: Mon Aug 17, 2020 7:10 pm    Post subject: Reply with quote

quilosaq wrote:
Posiblemente te has descargado el código (HTML) de la página web del parche en lugar del propio parche. Prueba descargar el parche desde este enlace:
https://github.com/graysky2/kernel_gcc_patch/raw/master/enable_additional_cpu_optimizations_for_gcc_v9.1%2B_kernel_v5.5%2B.patch


macs wrote:
El fichero descargado siempre a sido un .patch y no un HTML.


Vaya jaleo, ahora me sale este error de gcc, alucinante... jamás me habia pasado, eso me pasado con el otro equipo, cada vez se me quitan más las ganas de meterme con estos temas.

Code:
error: command 'gcc' failed with exit status 1


¿Podeis echarme una mano?, he mirado por ahí y no veo nada...
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Mon Aug 17, 2020 11:57 pm    Post subject: Reply with quote

¿Cuándo te sale ese error?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum